This is an automated email from the ASF dual-hosted git repository. abhioncbr pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push: new f3c43482ab [HELM]: add initContainers support (#15275) f3c43482ab is described below commit f3c43482ab710bfdec05f1423d11dee617886226 Author: Povilas Vaitkus <48908420+povila...@users.noreply.github.com> AuthorDate: Wed Mar 19 15:38:11 2025 +0200 [HELM]: add initContainers support (#15275) --- helm/pinot/templates/broker/statefulset.yaml | 2 ++ helm/pinot/templates/controller/statefulset.yaml | 2 ++ helm/pinot/templates/minion-stateless/deployment.yaml | 2 ++ helm/pinot/templates/minion/statefulset.yaml | 2 ++ helm/pinot/templates/server/statefulset.yaml | 2 ++ helm/pinot/values.yaml | 10 ++++++++++ 6 files changed, 20 insertions(+) diff --git a/helm/pinot/templates/broker/statefulset.yaml b/helm/pinot/templates/broker/statefulset.yaml index 4226791831..22ea8e49a0 100644 --- a/helm/pinot/templates/broker/statefulset.yaml +++ b/helm/pinot/templates/broker/statefulset.yaml @@ -59,6 +59,8 @@ spec: {{ toYaml .Values.broker.affinity | indent 8 }} tolerations: {{ toYaml .Values.broker.tolerations | indent 8 }} + initContainers: +{{ toYaml .Values.broker.initContainers | indent 8 }} containers: - name: broker securityContext: diff --git a/helm/pinot/templates/controller/statefulset.yaml b/helm/pinot/templates/controller/statefulset.yaml index f0b6a51c29..b2403767f0 100644 --- a/helm/pinot/templates/controller/statefulset.yaml +++ b/helm/pinot/templates/controller/statefulset.yaml @@ -59,6 +59,8 @@ spec: {{ toYaml .Values.controller.affinity | indent 8 }} tolerations: {{ toYaml .Values.controller.tolerations | indent 8 }} + initContainers: +{{ toYaml .Values.controller.initContainers | indent 8 }} containers: - name: controller securityContext: diff --git a/helm/pinot/templates/minion-stateless/deployment.yaml b/helm/pinot/templates/minion-stateless/deployment.yaml index f52a5dd1da..9d59bd918f 100644 --- a/helm/pinot/templates/minion-stateless/deployment.yaml +++ b/helm/pinot/templates/minion-stateless/deployment.yaml @@ -51,6 +51,8 @@ spec: {{ toYaml .Values.minionStateless.affinity | indent 8 }} tolerations: {{ toYaml .Values.minionStateless.tolerations | indent 8 }} + initContainers: +{{ toYaml .Values.minionStateless.initContainers | indent 8 }} containers: - name: minion-stateless securityContext: diff --git a/helm/pinot/templates/minion/statefulset.yaml b/helm/pinot/templates/minion/statefulset.yaml index 99c3a2f6cc..e8d2a786ed 100644 --- a/helm/pinot/templates/minion/statefulset.yaml +++ b/helm/pinot/templates/minion/statefulset.yaml @@ -60,6 +60,8 @@ spec: {{ toYaml .Values.minion.affinity | indent 8 }} tolerations: {{ toYaml .Values.minion.tolerations | indent 8 }} + initContainers: +{{ toYaml .Values.minion.initContainers | indent 8 }} containers: - name: minion securityContext: diff --git a/helm/pinot/templates/server/statefulset.yaml b/helm/pinot/templates/server/statefulset.yaml index ab5ec1c493..724d0a4a20 100644 --- a/helm/pinot/templates/server/statefulset.yaml +++ b/helm/pinot/templates/server/statefulset.yaml @@ -59,6 +59,8 @@ spec: {{ toYaml .Values.server.affinity | indent 8 }} tolerations: {{ toYaml .Values.server.tolerations | indent 8 }} + initContainers: +{{ toYaml .Values.server.initContainers | indent 8 }} containers: - name: server securityContext: diff --git a/helm/pinot/values.yaml b/helm/pinot/values.yaml index 42a10cd22e..8cd24795ad 100644 --- a/helm/pinot/values.yaml +++ b/helm/pinot/values.yaml @@ -195,6 +195,8 @@ controller: tolerations: [] + initContainers: [] + affinity: {} podAnnotations: {} @@ -332,6 +334,8 @@ broker: tolerations: [] + initContainers: [] + podAnnotations: {} # set enabled as true, to automatically roll broker stateful set for configmap change @@ -458,6 +462,8 @@ server: tolerations: [] + initContainers: [] + podAnnotations: {} # set enabled as true, to automatically roll server stateful set for configmap change @@ -573,6 +579,8 @@ minion: tolerations: [] + initContainers: [] + podAnnotations: {} automaticReload: @@ -678,6 +686,8 @@ minionStateless: tolerations: [] + initContainers: [] + podAnnotations: {} # Use envFrom to define all of the ConfigMap or Secret data as container environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org