Merge "Add Common Helm Chart "mariadb-galera""
[oom.git] / kubernetes / portal / charts / portal-mariadb / templates / deployment.yaml
index fd5e524..bdb760d 100644 (file)
@@ -52,7 +52,7 @@ spec:
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           env:
             - name: MYSQL_HOST
-              value: "{{ .Values.service.name }}"
+              value: "{{ include "common.fullname" . }}"
             - name: MYSQL_ROOT_PASSWORD
               valueFrom:
                 secretKeyRef:
@@ -64,9 +64,6 @@ spec:
           - mountPath: /etc/localtime
             name: localtime
             readOnly: true
-          - name: mariadb-docker-entrypoint-initdb
-            mountPath: /docker-entrypoint-initdb.d/zzz_apps_users_onboarding.sql
-            subPath: Apps_Users_OnBoarding_Script.sql
           resources:
 {{ toYaml .Values.resources | indent 12 }}
         {{- if .Values.nodeSelector }}
@@ -85,9 +82,6 @@ spec:
       {{- else }}
           emptyDir: {}
       {{- end }}
-        - name: mariadb-docker-entrypoint-initdb
-          configMap:
-            name: {{ include "common.fullname" . }}-docker-entry-initd
         - name: localtime
           hostPath:
             path: /etc/localtime