mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
28 lines
721 B
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
|