diff --git a/charts/mlrun-ce/Chart.yaml b/charts/mlrun-ce/Chart.yaml index 3605769..777a100 100644 --- a/charts/mlrun-ce/Chart.yaml +++ b/charts/mlrun-ce/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mlrun-ce -version: 0.7.1-rc3 +version: 0.7.1-rc4 description: MLRun Open Source Stack home: https://iguazio.com icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png diff --git a/charts/mlrun-ce/templates/pipelines/deployments/mysql.yaml b/charts/mlrun-ce/templates/pipelines/deployments/mysql.yaml index 2f58d03..d187345 100644 --- a/charts/mlrun-ce/templates/pipelines/deployments/mysql.yaml +++ b/charts/mlrun-ce/templates/pipelines/deployments/mysql.yaml @@ -23,6 +23,10 @@ spec: app: mysql application-crd-id: kubeflow-pipelines spec: + {{- if .Values.pipelines.db.securityContext }} + securityContext: +{{ .Values.pipelines.db.securityContext | toYaml | indent 8 }} + {{- end }} containers: - args: {{- if semverCompare "~5.7" (.Values.pipelines.images.mysql.tag | toString) }} diff --git a/charts/mlrun-ce/values.yaml b/charts/mlrun-ce/values.yaml index 8e11ad6..b052c9c 100644 --- a/charts/mlrun-ce/values.yaml +++ b/charts/mlrun-ce/values.yaml @@ -299,6 +299,11 @@ pipelines: # effect: NoSchedule db: username: root + securityContext: + runAsUser: 1001 + runAsGroup: 1001 + fsGroup: 1001 + fsGroupChangePolicy: OnRootMismatch minio: enabled: true accessKey: "minio"