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
{{ message }}
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
I have created a CSV and deployed the operator using that and the roles, service account and role binding in the deploy/ directory. I have deployed it into an operatorgroup having one namespace in it.
Upon doing that I see constant errors in the logs, presumably as it looks for the gitea CRs to act on.
Expected Behavior
Operator deploys without permission problems
Actual Behavior
Operator logs show this as soon as it is deployed.
E0206 12:27:37.686923 1 reflector.go:205] github.com/integr8ly/gitea-operator/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126:
Failed to list *v1alpha1.Gitea: giteas.integreatly.org is forbidden:
User "system:serviceaccount:playground:gitea-operator" cannot list giteas.integreatly.org at the cluster scope:
no RBAC policy matched
Description
I have created a CSV and deployed the operator using that and the roles, service account and role binding in the deploy/ directory. I have deployed it into an operatorgroup having one namespace in it.
Upon doing that I see constant errors in the logs, presumably as it looks for the gitea CRs to act on.
Expected Behavior
Operator deploys without permission problems
Actual Behavior
Operator logs show this as soon as it is deployed.
Environment
~$ oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://ose.cms.solute.us:8443
openshift v3.11.154
kubernetes v1.11.0+d4cacc
upgraded OpenShift 3.11 to use 0.12.0, functioning well with multiple other operators including our own.
06b13cd (tag: v0.0.5)
Steps to reproduce
Create OperatorGroup
Create RBAC requirements
Create CSV in playground namespace
oc create -f gitea.csv -n playground
Check out the logs
oc logs $(oc get pods -l name=gitea-operator -n playground -o=custom-columns="name:.metadata.name" --no-headers)
The text was updated successfully, but these errors were encountered: