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

- 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.
30 lines
723 B
YAML
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]
|