1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/crd/deployment.yaml

28 lines
721 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-policy-deployment
labels:
app: kube-policy
spec:
replicas: 1
template:
metadata:
labels:
app: kube-policy
spec:
containers:
- name: kube-policy
image: nirmata/kube-policy:latest
imagePullPolicy: IfNotPresent
args:
- -cert=/etc/kube-policy/certs/server.crt
- -key=/etc/kube-policy/certs/server-key.pem
volumeMounts:
- name: kube-policy-certs
mountPath: /etc/kube-policy/certs
readOnly: true
volumes:
- name: kube-policy-certs
secret:
secretName: kube-policy-secret