You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to deploy Capacitor on a Openshift cluster, as enduser, with only a namespace scope.
For that, I replaced the ClusterRole/ClusterRoleBinding by Role/RoleBinding.
I also remove some pod security context:
But, when Capacitor pod starts, It generates a lot of logs because it tries get resources at cluster scope:
W1129 13:26:32.502906 1 reflector.go:561] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: failed to list *v1.Event: events is forbidden: User "system:serviceaccount:ubly7356-free:capacitor" cannot list resource "events" in API group "" at the cluster scope
E1129 13:26:32.503107 1 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: Failed to watch *v1.Event: failed to list *v1.Event: events is forbidden: User \"system:serviceaccount:ubly7356-free:capacitor\" cannot list resource \"events\" in API group \"\" at the cluster scope" logger="UnhandledError"
W1129 13:26:39.349203 1 reflector.go:561] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: failed to list *v1.Ingress: ingresses.networking.k8s.io is forbidden: User "system:serviceaccount:ubly7356-free:capacitor" cannot list resource "ingresses" in API group "networking.k8s.io" at the cluster scope
E1129 13:26:39.349281 1 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: Failed to watch *v1.Ingress: failed to list *v1.Ingress: ingresses.networking.k8s.io is forbidden: User \"system:serviceaccount:ubly7356-free:capacitor\" cannot list resource \"ingresses\" in API group \"networking.k8s.io\" at the cluster scope" logger="UnhandledError"
W1129 13:26:47.580034 1 reflector.go:561] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:ubly7356-free:capacitor" cannot list resource "pods" in API group "" at the cluster scope
E1129 13:26:47.580089 1 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User \"system:serviceaccount:ubly7356-free:capacitor\" cannot list resource \"pods\" in API group \"\" at the cluster scope" logger="UnhandledError"
Is it possible to add an feature in order to specify the namespace scope ?
Rgds, Bruno.
The text was updated successfully, but these errors were encountered:
Hello,
I try to deploy Capacitor on a Openshift cluster, as enduser, with only a namespace scope.
For that, I replaced the ClusterRole/ClusterRoleBinding by Role/RoleBinding.
I also remove some pod security context:
But, when Capacitor pod starts, It generates a lot of logs because it tries get resources at cluster scope:
Is it possible to add an feature in order to specify the namespace scope ?
Rgds, Bruno.
The text was updated successfully, but these errors were encountered: