jenkins: scope nested namespace AppArmor exception to probe
This commit is contained in:
parent
cdb67252bc
commit
bad6c8633b
@ -13,7 +13,7 @@ data:
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: lesavka-userns-probe-2
|
name: lesavka-userns-probe-3
|
||||||
namespace: jenkins
|
namespace: jenkins
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 0
|
backoffLimit: 0
|
||||||
@ -41,6 +41,9 @@ spec:
|
|||||||
# exception is confined to a hostUsers:false pod with no host mounts.
|
# exception is confined to a hostUsers:false pod with no host mounts.
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: Unconfined
|
type: Unconfined
|
||||||
|
# The CRI default denies userns_create even inside an isolated pod.
|
||||||
|
appArmorProfile:
|
||||||
|
type: Unconfined
|
||||||
containers:
|
containers:
|
||||||
- name: probe
|
- name: probe
|
||||||
image: registry.bstein.dev/bstein/lesavka-ci@sha256:7d3a2548ef0df8da053a2e2939675f5a3cf23e26517828e5fa9a3185911a8e75
|
image: registry.bstein.dev/bstein/lesavka-ci@sha256:7d3a2548ef0df8da053a2e2939675f5a3cf23e26517828e5fa9a3185911a8e75
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user