mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user