intel-device-plugins-for-ku.../deployments/fpga_admissionwebhook/deployment-tpl.yaml
2018-08-16 17:40:16 +03:00

33 lines
883 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: intel-fpga-webhook-deployment
labels:
app: intel-fpga-webhook
spec:
replicas: 1
template:
metadata:
labels:
app: intel-fpga-webhook
spec:
containers:
- name: fpga-mutator
image: intel-fpga-admissionwebhook:devel
imagePullPolicy: IfNotPresent
command:
- /usr/bin/intel_fpga_admissionwebhook
args:
- -tls-cert-file=/etc/webhook/certs/cert.pem
- -tls-private-key-file=/etc/webhook/certs/key.pem
- -mode={MODE}
- -debug
volumeMounts:
- name: webhook-certs
mountPath: /etc/webhook/certs
readOnly: true
volumes:
- name: webhook-certs
secret:
secretName: intel-fpga-webhook-certs