From 5cea37715602442a0baa24e3e9395ddbbbab73c9 Mon Sep 17 00:00:00 2001 From: Youcef Guichi Date: Mon, 9 Sep 2024 10:19:44 +0200 Subject: [PATCH 1/2] feat: allow envFrom for init containers --- charts/common/Chart.yaml | 2 +- charts/common/templates/_podSpec.yaml | 1 + charts/onechart/Chart.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index c9bf3c7..366bc96 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.6.0 +version: 0.7.0 diff --git a/charts/common/templates/_podSpec.yaml b/charts/common/templates/_podSpec.yaml index afaed3c..f7620d5 100644 --- a/charts/common/templates/_podSpec.yaml +++ b/charts/common/templates/_podSpec.yaml @@ -15,6 +15,7 @@ initContainers: - name: {{ .name }} image: "{{ .image }}:{{ .tag }}" imagePullPolicy: {{ .imagePullPolicy | default "IfNotPresent" }} + {{- include "common.envFromRef.tpl" $ | nindent 4 }} {{- if .command }} command: - {{ $.Values.shell }} diff --git a/charts/onechart/Chart.yaml b/charts/onechart/Chart.yaml index db4ac02..ab0b3b3 100644 --- a/charts/onechart/Chart.yaml +++ b/charts/onechart/Chart.yaml @@ -19,5 +19,5 @@ version: 0.71.0 dependencies: - name: common - version: 0.6.0 + version: 0.7.0 repository: file://../common From 156e030799dfbb4c8cb8dc741c1501cc046c294f Mon Sep 17 00:00:00 2001 From: Youcef Guichi Date: Mon, 9 Sep 2024 10:27:55 +0200 Subject: [PATCH 2/2] fix: Bump common chart version --- charts/cron-job/Chart.yaml | 2 +- charts/static-site/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cron-job/Chart.yaml b/charts/cron-job/Chart.yaml index f1cebe7..b2b3761 100644 --- a/charts/cron-job/Chart.yaml +++ b/charts/cron-job/Chart.yaml @@ -19,5 +19,5 @@ version: 0.71.0 dependencies: - name: common - version: 0.6.0 + version: 0.7.0 repository: file://../common diff --git a/charts/static-site/Chart.yaml b/charts/static-site/Chart.yaml index 5a41651..64f15c3 100644 --- a/charts/static-site/Chart.yaml +++ b/charts/static-site/Chart.yaml @@ -18,5 +18,5 @@ version: 0.71.0 dependencies: - name: common - version: 0.6.0 + version: 0.7.0 repository: file://../common