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

kubebuilder v3 based scaffolding has updated many things and they are documented in [1]. Update operator's functionality to v3 level. We've done most/some of the changes earlier (e.g., by not using deprecated k8s APIs anymore) so the changes are minimal. [1] https://book.kubebuilder.io/migration/v2vsv3.html Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
15 lines
312 B
YAML
15 lines
312 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: inteldeviceplugins-controller-manager
|
|
namespace: inteldeviceplugins-system
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --metrics-bind-address=127.0.0.1:8080
|
|
- --leader-elect
|
|
- --devices=fpga
|
|
name: manager
|