cockroachdb / cockroachdb/cockroach-operator

client-secure-operator.yaml has incorrect ServiceAccount

Open
#879 1 comment 1 reaction 0 assignees View on GitHub
bug documentation good first issue
Dominant language
Go
Stars
318
Forks
104
Avg merge
1d 6h
Merged PRs (30d)
1

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.