JIRA: CGTS-74433 Change-Id: I2177683f45e46a9b4da45a7dfb1276a10d99afdd Signed-off-by: vshivara <vanamala.shivaramakrishna@windriver.com>
20 lines
435 B
YAML
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 |