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

using bitwarden secrets in different namespace from sm-operator should be working without authToken #182

Open
1 task done
victorbiga opened this issue Sep 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@victorbiga
Copy link

Steps To Reproduce

  1. Create secret in bitwarden UI
  2. Create secret in different namespace to where sm-operator is deployed

Expected Result

INFO	Syncing  sm-operator/bitwardensecret-sample	{"controller": "bitwardensecret", "controllerGroup": "k8s.bitwarden.com", "controllerKind": "BitwardenSecret", "BitwardenSecret": {"name":"bitwardensecret-sample","namespace":"sm-operator"}, "namespace": "sm-operator", "name": "bitwardensecret-sample", "reconcileID": "7dased4f-a07f-48e2-b329-e68004142902"}

Actual Result

"error": "Secret \"bw-auth-token\" not found"}

Creating secret in different namespace should work without providing below, this should be handled by the operator

  authToken:
    secretName: bw-auth-token
    secretKey: token

This is deployed in sm-operator namespace and referencing this secret across namespace is not possible without replication.

Screenshots or Videos

No response

Additional Context

No response

Chart Version

0.1.0-Beta

Environment Details

kubernetes 1.31

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@victorbiga victorbiga added the bug Something isn't working label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant