Use `runtime/default` for seccomp. (#14616)
This commit is contained in:
parent
92760f80dc
commit
8e541844e9
|
@ -593,7 +593,9 @@ are:
|
||||||
|
|
||||||
- `unconfined` - Seccomp is not applied to the container processes (this is the
|
- `unconfined` - Seccomp is not applied to the container processes (this is the
|
||||||
default in Kubernetes), if no alternative is provided.
|
default in Kubernetes), if no alternative is provided.
|
||||||
- `docker/default` - The Docker default seccomp profile is used.
|
- `runtime/default` - The default container runtime profile is used.
|
||||||
|
- `docker/default` - The Docker default seccomp profile is used. Deprecated as of
|
||||||
|
Kubernetes 1.11. Use `runtime/default` instead.
|
||||||
- `localhost/<path>` - Specify a profile as a file on the node located at
|
- `localhost/<path>` - Specify a profile as a file on the node located at
|
||||||
`<seccomp_root>/<path>`, where `<seccomp_root>` is defined via the
|
`<seccomp_root>/<path>`, where `<seccomp_root>` is defined via the
|
||||||
`--seccomp-profile-root` flag on the Kubelet.
|
`--seccomp-profile-root` flag on the Kubelet.
|
||||||
|
|
|
@ -3,9 +3,9 @@ kind: PodSecurityPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: restricted
|
name: restricted
|
||||||
annotations:
|
annotations:
|
||||||
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default'
|
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default'
|
||||||
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
|
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
|
||||||
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
|
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default'
|
||||||
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
|
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
|
||||||
spec:
|
spec:
|
||||||
privileged: false
|
privileged: false
|
||||||
|
|
|
@ -3,9 +3,9 @@ kind: PodSecurityPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: restricted
|
name: restricted
|
||||||
annotations:
|
annotations:
|
||||||
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default'
|
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default'
|
||||||
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
|
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
|
||||||
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
|
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default'
|
||||||
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
|
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
|
||||||
spec:
|
spec:
|
||||||
privileged: false
|
privileged: false
|
||||||
|
|
Loading…
Reference in New Issue