Skip to content

Support environment variables for initContainer #1924

Open
@klit-la

Description

@klit-la

What would you like to be added?

With !1772 kompose supports defining initContainers via labels. Thanks for that! Now it would be great to define environment variables also via labels, such as kompose.init.containers.env

Why is this needed?

I have an application that needs to start prior to the actual application to initialize a postgres schema and the connection details need to be provided via environment variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions