intel-device-plugins-for-ku.../deployments/fpga_admissionwebhook/base/kustomization.yaml
Antti Kervinen 5fe8174077 fpga_plugin: add kustomization files
- Add script/fpga-plugin-prepare-for-kustomization.sh, creates contents
  for the secret needed by the fpga plugin webhook.
- Single-command fpga plugin + webhook deployment for both modes:
  - `kubectl create -k deployments/fpga_plugin/overlays/af`
  - `kubectl create -k deployments/fpga_plugin/overlays/region`
- Change intel-fpga-plugin image CMD to ENTRYPOINT.
2020-02-24 16:32:26 +02:00

30 lines
723 B
YAML

resources:
- fpga-reader-clusterrole.yaml
- intel-fpga-webhook-deployment.yaml
- intel-fpga-webhook-svc.yaml
- fpga-mutator-webhook-cfg.yaml
- acceleratorfunction-crd.yaml
- acceleratorfunctions.yaml
configurations:
- kustomize-varreference.yaml
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
- name: intel-fpga-webhook-certs
files:
- key.pem=intel-fpga-webhook-certs-secret/key.pem
- cert.pem=intel-fpga-webhook-certs-secret/cert.pem
- client-ca-file=intel-fpga-webhook-certs-secret/client-ca-file
vars:
- name: CA_BUNDLE
objref:
kind: Secret
version: v1
name: intel-fpga-webhook-certs
fieldref:
fieldpath: data[client-ca-file]