Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client-secure-operator.yaml has incorrect ServiceAccount #879

Open
mbookham7 opened this issue Apr 11, 2022 · 1 comment
Open

client-secure-operator.yaml has incorrect ServiceAccount #879

mbookham7 opened this issue Apr 11, 2022 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@mbookham7
Copy link

I have deployed a cluster using the Operator and attempted to create a pod from the client-secure-operator.yaml. I get the error.

Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/cockroachdb/cockroach-operator/master/examples/client-secure-operator.yaml": pods "cockroachdb-client-secure" is forbidden: error looking up service account cockroachdb/cockroachdb-sa: serviceaccount "cockroachdb-sa" not found

I then listed the ServiceAccount created in the cockroachdb namespace for the cluster the ServiceAccount does not exist.

mikebookham@crlMBP-C02GC1MVMD6TNjc1 openshift-tv-demo % kubectl get sa -n cockroachdb
NAME                    SECRETS   AGE
builder                 2         6d
cockroach-database-sa   2         6d
cockroach-operator-sa   2         6d
default                 2         6d
deployer                2         6d
@pseudomuto pseudomuto added bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers labels Feb 21, 2023
@bhismnarayan
Copy link

bhismnarayan commented Mar 18, 2023

Pull request to fix this issue #970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants