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

default VaultAuth is not generated for JWT-Auth #710

Open
marc-aurel opened this issue Apr 25, 2024 · 0 comments
Open

default VaultAuth is not generated for JWT-Auth #710

marc-aurel opened this issue Apr 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@marc-aurel
Copy link

marc-aurel commented Apr 25, 2024

Describe the bug
When enabled is set to "true" for "defaultAuthMethod" in the Helm values.yaml
and method and mount are set to '"jwt" I expect a VaultAuth object to be created.

To Reproduce
Steps to reproduce the behavior:

  1. Install Helm Chart application with the following values.yaml adaptations (these are the required values):
defaultAuthMethod:
  enabled: true
  method: jwt
  mount: jwt
  jwt:
    role: jwt-role
  1. either defaultAuthMethod/jwt/secretRef is set to an existing secret (in the operator namespace) or
    defaultAuthMethod/jwt/serviceAccount is set to an existing serviceaccount (in the operator namespace)
    If none is set "default" should be used as jwt/serviceAccount
  2. no VaultAuth object called "default" is created (like with VaultConnection)

Expected behavior
If "defaultAuthMethod" is enabled in values.yaml I expect
that a default VaultAuth object is created in the "vault" namespace where
the operator is deployed.
If I just set defaultAuthMethod/jwt/serviceAccount I also expect an serviceaccountToken-secret
to be autocreated.

Environment

  • Kubernetes version: v1.26.14
  • vault-secrets-operator version: 0.6.0
@marc-aurel marc-aurel added the bug Something isn't working label Apr 25, 2024
@marc-aurel marc-aurel changed the title DefaultVaultAuth is never generated for JWT-Auth default VaultAuth is not generated for JWT-Auth Apr 25, 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