failed to create API: unable to inject the resource to "config.operatorbuilder.io/v1": unable to inject resource into .source/config/collection.yaml, unable to convert to []interface{}; unable to convert to []string; error converting rbac groups for rule map[nonResourceURLs:[/metrics] verbs:[get]]; error processing rbac role rule [map[nonResourceURLs:[/metrics] verbs:[get]] map[apiGroups:[] resources:[namespaces pods pods/logs] verbs:[get list watch]]]
This is because non resource urls are not supported. We should support them via the following kubebuilder rbac marker.
Given the current manifest:
The following error occurs:
This is because non resource urls are not supported. We should support them via the following kubebuilder rbac marker.
https://pkg.go.dev/sigs.k8s.io/controller-tools/pkg/rbac