diff --git a/apps/mlflow/mlflow-deployment.yaml b/apps/mlflow/mlflow-deployment.yaml index 576a28c..368c5e2 100644 --- a/apps/mlflow/mlflow-deployment.yaml +++ b/apps/mlflow/mlflow-deployment.yaml @@ -30,6 +30,15 @@ spec: name: minio-admin-secret - secretRef: name: minio-user-secret + - name: init-db-upgrade + image: git.namesny.com/cluster/mlflow:latest + envFrom: + - secretRef: + name: mlflow-secret + command: ["/bin/sh", "-c"] + args: + - mlflow db upgrade $MLFLOW_BACKEND_STORE_URI; + exit 0; containers: - name: mlflow image: git.namesny.com/cluster/mlflow:latest