mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
tests: k8s: SecurityContext.runAsUser policy test
Add test for auto-generating policy for a pod spec that includes the SecurityContext.runAsUser field. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -25,6 +25,7 @@ spec:
|
||||
name: policy-configmap
|
||||
key: data-2
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
topologySpreadConstraints:
|
||||
|
Reference in New Issue
Block a user