mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
33 lines
883 B
YAML
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
|