[bitnami/mlflow] Fix run.initContainers render (#21433)

* fix(mlflow): proper render run initContainers

Signed-off-by: Felipe Cecagno <fcecagno@gmail.com>

* chore(mlflow): better format imagePullSecrets in order to avoid adding an empty line before the attribute

Signed-off-by: Felipe Cecagno <fcecagno@gmail.com>

* chore(mlflow): bump chart to 0.3.1

Signed-off-by: Felipe Cecagno <fcecagno@gmail.com>

---------

Signed-off-by: Felipe Cecagno <fcecagno@gmail.com>
This commit is contained in:
Felipe Cecagno
2023-12-11 04:59:07 -03:00
committed by GitHub
parent 95fbb285b2
commit e315cae73a
3 changed files with 4 additions and 4 deletions

View File

@@ -43,4 +43,4 @@ name: mlflow
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/mlflow
- https://github.com/mlflow/mlflow
version: 0.3.0
version: 0.3.1

View File

@@ -44,7 +44,7 @@ spec:
app.kubernetes.io/part-of: mlflow
app.kubernetes.io/component: run
spec:
{{- include "mlflow.v0.imagePullSecrets" . | nindent 6 }}
{{- include "mlflow.v0.imagePullSecrets" . | indent 6 }}
serviceAccountName: {{ template "mlflow.v0.run.serviceAccountName" . }}
{{- if .Values.run.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.run.hostAliases "context" $) | nindent 8 }}
@@ -100,7 +100,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.run.initContainers }}
{{- include "common.tplvalues.render" (dict "values" .Values.run.initContainers "context" $) | nindent 8}}
{{- include "common.tplvalues.render" (dict "value" .Values.run.initContainers "context" $) | nindent 8}}
{{- end }}
containers:
- name: mlflow

View File

@@ -43,7 +43,7 @@ spec:
app.kubernetes.io/component: tracking
spec:
serviceAccountName: {{ include "mlflow.v0.tracking.serviceAccountName" . }}
{{- include "mlflow.v0.imagePullSecrets" . | nindent 6 }}
{{- include "mlflow.v0.imagePullSecrets" . | indent 6 }}
{{- if .Values.tracking.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.tracking.hostAliases "context" $) | nindent 8 }}
{{- end }}