Skip to content

Commit

Permalink
test(chroot): fix k8s-job.yaml annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Höhl, Lukas <[email protected]>
  • Loading branch information
Höhl, Lukas committed Jul 12, 2022
1 parent 484276d commit ab2d1ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integration/k8s-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ spec:
metadata:
annotations:
# disable seccomp and apparmor for chroot mounts
container.apparmor.security.beta.kubernetes.io/kaniko: unconfined
container.seccomp.security.alpha.kubernetes.io/kaniko: unconfined
container.apparmor.security.beta.kubernetes.io/kaniko: unconfined
container.seccomp.security.alpha.kubernetes.io/kaniko: unconfined
spec:
hostNetwork: true
containers:
Expand Down
2 changes: 1 addition & 1 deletion scripts/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ FLAGS+=(
"--repo=${IMAGE_REPO}"
)

go test -v ./integration/... "${FLAGS[@]}" "$@"
go test ./integration/... "${FLAGS[@]}" "$@"

0 comments on commit ab2d1ad

Please sign in to comment.