noobaa-operator
noobaa-operator copied to clipboard
`obc status` Prints Secrets In `alias s3=` (Without Flag `--show-secrets`)
Environment info
- NooBaa Operator Version: current master (5.14)
- Platform: Rancher Desktop 1.19.0 (VM and cluster)
Actual behavior
- When running
obc status
prints secrets in alias s3 (without flag--show-secrets
).
Expected behavior
- Secrets are shown only by using the flag
--show-secrets
.
Steps to reproduce
I saw it while I was trying to create a new aws-s3 backingstore (maybe some of the steps might be redundant):
- Based on the instructions here - the steps of ‘Build images’ and ‘Deploy noobaa’.
Note:
nb
is an alias that runs the local operator frombuild/_output/bin
(alias created bydevenv
). - Create backingstore resource:
nb backingstore create aws-s3 shira-bs-aws
(shira-bs-aws
is the backing store name). - Create bucket class:
nb bucketclass create placement-bucketclass bc-shira --backingstores=shira-bs-aws
(bc-shira
is the name of the bucket class). - Create obc:
nb obc create obc-shira --bucketclass=bc-shira
(obc-shira
is the name of the obc). At this point is will print a part ofShell commands:
and under it, you will seeAWS S3 Alias
and the secrets are observable (no use of--show-secrets flag
). The same is after creation and usingnb obc status obc-shira
.
More information - Screenshots / Logs / Other output
none