intel-device-plugins-for-ku.../deployments/fpga_admissionwebhook/base/acceleratorfunction-crd.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

23 lines
499 B
YAML

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: acceleratorfunctions.fpga.intel.com
spec:
group: fpga.intel.com
version: v1
scope: Namespaced
names:
plural: acceleratorfunctions
singular: acceleratorfunction
kind: AcceleratorFunction
shortNames:
- af
validation:
openAPIV3Schema:
properties:
spec:
properties:
afuId:
type: string
pattern: '^[0-9a-f]{8,128}$'