Files
test/resources/cloud_platform/nightly_regression/psa-restricted-pod-allow.yaml
vshivara 756f667163 Adding the tests for Pod Security Admission.
JIRA: CGTS-74433

Change-Id: I2177683f45e46a9b4da45a7dfb1276a10d99afdd
Signed-off-by: vshivara <vanamala.shivaramakrishna@windriver.com>
2025-03-27 09:31:31 -04:00

20 lines
435 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: restricted-pod-allow
namespace: restricted-ns
spec:
containers:
- name: pause
image: registry.local:9001/pause
securityContext:
runAsUser: 1000
allowPrivilegeEscalation: false
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
imagePullSecrets:
- name: local-secret