Skip to content

Commit 7f377cb

Browse files
committed
fix: update wait-for-postgresql init container to use bitnamilegacy
- Fix hardcoded postgresql:15.3.0-debian-11-r0 image in deployment.yaml init container - Use postgres.backup.image configuration instead for consistency - Bump mlflow chart version 0.4.1 -> 0.4.2 This fixes remaining ImagePullBackOff errors in helm-install-test.
1 parent 9674e62 commit 7f377cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

applications/mlflow/charts/mlflow/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: mlflow
33
description: A Helm chart for MLflow - Open source platform for the machine learning lifecycle.
44
type: application
5-
version: "0.4.1"
5+
version: "0.4.2"
66
appVersion: "2.10.0"
77
home: https://github.com/mlflow/mlflow/tree/master/charts/mlflow
88
sources:

applications/mlflow/charts/mlflow/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ spec:
9696
{{- if .Values.mlflow.trackingServer.basicAuth.enabled }}
9797
{{- if not .Values.mlflow.trackingServer.basicAuth.existingSecret }}
9898
- name: wait-for-postgresql
99-
image: docker.io/bitnami/postgresql:15.3.0-debian-11-r0
100-
imagePullPolicy: {{ .Values.mlflow.image.pullPolicy }}
99+
image: "{{ .Values.postgres.backup.image.registry }}/{{ .Values.postgres.backup.image.repository }}:{{ .Values.postgres.backup.image.tag }}"
100+
imagePullPolicy: {{ .Values.postgres.backup.image.pullPolicy }}
101101
command: ["sh", "-c", "until PGPASSWORD=$POSTGRES_PASSWORD psql -U $POSTGRES_USER -h $POSTGRES_HOST -p 5432 -d $POSTGRES_DB -c 'SELECT 1'; do sleep 1; done;"]
102102
envFrom:
103103
- secretRef:

applications/mlflow/release/mlflow-chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
chart:
77
name: mlflow
8-
chartVersion: 0.4.1
8+
chartVersion: 0.4.2
99
weight: 10
1010
helmUpgradeFlags:
1111
- --wait

0 commit comments

Comments
 (0)