Skip to content

k8s: Injecting env variable from app dc to custom vault-agent Init/ Vault-agent sidecar image #161

Open
@shuvankar0907

Description

@shuvankar0907

Is your feature request related to a problem? Please describe.
We have custom solution to read secrets from vault and provide it for the apps to use. I wanted to replace the image provided by vault that is used as init/sidecar container and use our own image. Our custom image requires few env variable to work.
Provide a way to pass env variables from mentioned application dc (annotations) to init/sidecar container env variable.

Describe the solution you'd like
extraEnvironmentVars option that is provided in application DC, make it available to init/sidecar as environment variable. I can then this option to inject my required variables to sidecar/init images.

If this change is provided I will be able to use vault agent in our organisation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions