diff --git a/helm/demo-chart/requirements.yaml b/helm/demo-chart/requirements.yaml index 3b52144..15604ce 100644 --- a/helm/demo-chart/requirements.yaml +++ b/helm/demo-chart/requirements.yaml @@ -1,6 +1,6 @@ dependencies: - name: mariadb - version: 7.x.x + version: 11.x.x repository: https://charts.bitnami.com/bitnami condition: mariadb.enabled tags: diff --git a/helm/demo-chart/templates/deployment.yaml b/helm/demo-chart/templates/deployment.yaml index c344909..b2ac895 100644 --- a/helm/demo-chart/templates/deployment.yaml +++ b/helm/demo-chart/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: secretKeyRef: {{- if .Values.mariadb.enabled }} name: {{ template "mariadb.fullname" . }} - key: mariadb-password + key: mariadb-root-password {{- else }} name: unknown key: db-password