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

VaultStaticSecret merge secrets from multiple path to one kubernetes secret #954

Open
suxiaoxiaomm opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suxiaoxiaomm
Copy link

suxiaoxiaomm commented Oct 21, 2024

Is your feature request related to a problem? Please describe.
We have one shared secret path for all services. And per service also has its specific secret path.

Could we use one VaultStaticSecret to merge multiple path into one Kubernetes secret?
As below at path, instead one path, it accepts a list of paths

apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
  namespace: app
  name: app1-static-secret
spec:
  namespace: application
  mount: secret
  type: kv-v2
  path: 
    - app1/shared-secrets
    - app1/specific-secrets
  refreshAfter: 60s
  destination:
    create: true
    name: app-secret
@suxiaoxiaomm suxiaoxiaomm added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant