How to install pcidevices into k8s using helm
scydas opened this issue · comments
I'm not using harvester.
according to both issues. #31 #33
- kubectl apply -f crd.yaml
- helm install harvester-pcidevices-controller -n virtnest-system --debug ./harvester-pcidevices-controller-0.2.6.tgz
harvester-cpidevices-controller log
time="2024-01-15T10:20:42Z" level=info msg="No access to list CRDs, assuming CRDs are pre-created."
time="2024-01-15T10:20:42Z" level=info msg="Registering PCI Device Claims controller"
time="2024-01-15T10:20:42Z" level=fatal msg="error registering pcidevicclaim controllers :pcideviceclaims.devices.harvesterhci.io is forbidden: User \"system:serviceaccount:virtnest-system:harvester-pcidevices-controller\" cannot list resource \"pcideviceclaims\" in API group \"devices.harvesterhci.io\" at the cluster scope"
The problem has been solved, it needs to be installed in the harvester-system namespace