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/bad-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

25 lines
No EOL
463 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: bad-statefulset-1
labels:
prod: "true"
spec:
serviceName: my-app-service
replicas: 3
selector:
matchLabels:
prod: "true"
app: busybox
template:
metadata:
labels:
prod: "true"
app: busybox
spec:
containers:
- name: my-app-container
image: busybox:latest
securityContext:
allowPrivilegeEscalation: true