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

obc status Prints Secrets In alias s3= (Without Flag --show-secrets) #1171

Open
shirady opened this issue Jul 18, 2023 · 0 comments
Open

obc status Prints Secrets In alias s3= (Without Flag --show-secrets) #1171

shirady opened this issue Jul 18, 2023 · 0 comments

Comments

@shirady
Copy link
Contributor

shirady commented Jul 18, 2023

Environment info

  • NooBaa Operator Version: current master (5.14)
  • Platform: Rancher Desktop 1.19.0 (VM and cluster)

Actual behavior

  1. When running obc status prints secrets in alias s3 (without flag --show-secrets).

Expected behavior

  1. 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):

  1. Based on the instructions here - the steps of ‘Build images’ and ‘Deploy noobaa’.
    Note: nb is an alias that runs the local operator from build/_output/bin (alias created by devenv).
  2. Create backingstore resource: nb backingstore create aws-s3 shira-bs-aws (shira-bs-aws is the backing store name).
  3. Create bucket class: nb bucketclass create placement-bucketclass bc-shira --backingstores=shira-bs-aws (bc-shira is the name of the bucket class).
  4. 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 of Shell commands: and under it, you will see AWS S3 Alias and the secrets are observable (no use of --show-secrets flag). The same is after creation and using nb obc status obc-shira.

More information - Screenshots / Logs / Other output

none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant