Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to set vault secret path to PVC path #684

Open
vishwajeets7 opened this issue Sep 12, 2024 · 0 comments
Open

Unable to set vault secret path to PVC path #684

vishwajeets7 opened this issue Sep 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vishwajeets7
Copy link

Describe the bug
A clear and concise description of what the bug is.
Unable to point the vault secrets to Persistent Volume Claim.

This is a multiple container scenario.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy application annotated for vault-agent injection
  2. vault.hashicorp.com/agent-inject-secret-foo: "storage/dev"
  3. it creates a folder in home directory rather that storing it in PVC path
  4. "storage" here is declared as Volume with pvc claim name
  • name: storage
    persistentVaumnClaim:
    claimName: devSecret
  1. See error (vault injector logs, vault-agent logs, etc.)
@vishwajeets7 vishwajeets7 added the bug Something isn't working label Sep 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant