1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-25 09:06:49 +00:00
kyverno/test/conformance/chainsaw/validating-policies/autogen/autogen-deployments-statefulsets/good-statefulset.yaml

26 lines
469 B
YAML
Raw Normal View History

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