1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-23 16:20:40 +00:00
kyverno/test/conformance/chainsaw/validating-policies/autogen/autogen-deployments-statefulsets/good-statefulset.yaml
Mariam Fahmy bbe2b838af
chore: add resource manifests in autogen tests (#12205)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2025-02-19 13:59:07 +00:00

26 lines
No EOL
469 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: good-statefulset-1
labels:
prod: "true"
app: nginx
spec:
serviceName: headless-service
replicas: 1
selector:
matchLabels:
prod: "true"
app: nginx
template:
metadata:
labels:
prod: "true"
app: nginx
spec:
containers:
- name: my-app-container
image: nginx
securityContext:
allowPrivilegeEscalation: false