mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

- used ENTRYPOINT instead of CMD in plugin and admission webhook Dockerfiles to avoid duplicating commands in the pod yamls - fixed path to deploy.sh script in fpga initcontainer Dockerfile
31 lines
813 B
YAML
31 lines
813 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
|
|
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
|