mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 23:39:30 +00:00
tests: k8s-policy-deployment: add bad UID test
Change pod runAsUser value of a Deployment after generating the Deployment's policy, and verify that the Deployment fails due to this change. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -25,6 +25,8 @@ spec:
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 0
|
||||
runtimeClassName: kata
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
containers:
|
||||
- name: master
|
||||
image: quay.io/opstree/redis
|
||||
|
Reference in New Issue
Block a user