sync en zh example yaml (#19778)

This commit is contained in:
chentanjun 2020-03-23 11:32:45 +08:00 committed by GitHub
parent 9a332233c0
commit 09fc6f9e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 99 deletions

View File

@ -3,9 +3,9 @@ kind: PodSecurityPolicy
metadata:
name: restricted
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'
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default'
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
spec:
privileged: false

View File

@ -1,8 +1,8 @@
apiVersion: v1
kind: Pod
metadata:
apiVersion: v1
kind: Pod
metadata:
name: my-empty-dir-pod
spec:
spec:
containers:
- image: microsoft/windowsservercore:1709
name: my-empty-dir-pod

View File

@ -14,4 +14,4 @@ spec:
windowsOptions:
runAsUserName: "ContainerAdministrator"
nodeSelector:
beta.kubernetes.io/os: windows
kubernetes.io/os: windows

View File

@ -11,4 +11,4 @@ spec:
image: mcr.microsoft.com/windows/servercore:ltsc2019
command: ["ping", "-t", "localhost"]
nodeSelector:
beta.kubernetes.io/os: windows
kubernetes.io/os: windows