Skip to content

Add pod lifecycle options #463

@c-thiel

Description

@c-thiel

What is your feature request?
In the Chart we currently don't have an option to add a lifecycle to the pods.
These lifecycle hooks can be useful in a number of situations where we need to patch small parts of the pod.
An example could be:

          lifecycle:
            postStart:
              exec:
                command: ["/bin/sh", "-c", do_something.sh]

To give a concrete example, I am currently facing this issue apache/airflow#8212.
To fix this I need to patch a single file in the container. I could of course go ahead and build my custom container - having a lifecycle hook would be very simple though.

Implementation should be really simple and straight forward - just forwarding whatever the user specifies in the values.yaml.

It would be good to have this, as anything else, once globally and additionaly an option to overwrite for the individual components.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions