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.
29 lines
571 B
YAML
29 lines
571 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: intel-fpga-plugin-controller
|
|
namespace: kube-system
|
|
---
|
|
kind: ClusterRole
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: node-getter
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["nodes"]
|
|
verbs: ["get"]
|
|
---
|
|
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: get-nodes
|
|
namespace: kube-system
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: intel-fpga-plugin-controller
|
|
namespace: kube-system
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: node-getter
|
|
apiGroup: rbac.authorization.k8s.io
|