Skip to content

Unable to set vault secret path to PVC path #684

@vishwajeets7

Description

@vishwajeets7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions