Skip to content

fix(deployment): evaluate initContainers template#566

Open
dmunozv04 wants to merge 1 commit into
SchwarzIT:mainfrom
dmunozv04:evaluate-initcontainer-template
Open

fix(deployment): evaluate initContainers template#566
dmunozv04 wants to merge 1 commit into
SchwarzIT:mainfrom
dmunozv04:evaluate-initcontainer-template

Conversation

@dmunozv04

Copy link
Copy Markdown

Thank you for making node-red ⚙ better

Please reference the issue this PR is fixing. There's no issue that this PR fixes. I can open one if needed.

Rendering the initContainers as helm templates allows referencing values in them, like being able to use the same image on the main and init containers.

For example:

initContainers:
  - name: test-container
    image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
    command: ["/bin/sh", "-c", "echo Hello from the test container! && sleep 30"]

Other projects also do this: apache/superset#31878
Also verify you have:

Signed-off-by: dmunozv04 <39565245+dmunozv04@users.noreply.github.com>
@dmunozv04 dmunozv04 requested a review from Kaktor as a code owner June 23, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant