1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/PodTemplate/PodTemplate.yaml
Anton Kostenko e200cdc2a4 new policy structure
policies are modified according to new logic
2019-05-21 17:54:55 +03:00

18 lines
322 B
YAML

apiVersion: v1
kind: PodTemplate
metadata:
name: nginx-test
labels:
app: nginx
originalLabel: isHere
template:
spec:
containers:
- name: redis
image: redis
ports:
- containerPort: 80
protocol: TCP
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst