diff --git a/stable/mlrun/Chart.yaml b/stable/mlrun/Chart.yaml index 9a48d7d41..f1f09a859 100644 --- a/stable/mlrun/Chart.yaml +++ b/stable/mlrun/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mlrun -version: 0.8.27 +version: 0.8.28 appVersion: 1.4.0 description: Machine Learning automation and tracking sources: diff --git a/stable/mlrun/templates/db-configmap-init.yaml b/stable/mlrun/templates/db-configmap-init.yaml index b767fee73..ea318cedd 100644 --- a/stable/mlrun/templates/db-configmap-init.yaml +++ b/stable/mlrun/templates/db-configmap-init.yaml @@ -12,4 +12,7 @@ data: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'; FLUSH PRIVILEGES; CREATE DATABASE IF NOT EXISTS mlrun; + {{- if not .Values.modelMonitoring.dsn }} + CREATE DATABASE IF NOT EXISTS mlrun_model_monitoring; + {{- end }} {{- end }} diff --git a/stable/mlrun/values.yaml b/stable/mlrun/values.yaml index b71445805..e37193efd 100644 --- a/stable/mlrun/values.yaml +++ b/stable/mlrun/values.yaml @@ -599,6 +599,11 @@ httpDB: # dsn: "mysql+pymysql://root@mlrun-db:3306/mlrun" # oldDsn: "sqlite:////mlrun/db/mlrun.db?check_same_thread=false" +modelMonitoring: + # If no dsn has been provided, will initiate monitoring database under mlrun-db service: + # mysql+pymysql://root@mlrun-db:3306/mlrun_model_monitoring + dsn: + defaultDockerRegistryURL: "" defaultDockerRegistrySecretName: ""