diff --git a/helm/charts/opencoze/templates/mysql-init-job.yaml b/helm/charts/opencoze/templates/mysql-init-job.yaml index 09a72d55..3a433ca7 100644 --- a/helm/charts/opencoze/templates/mysql-init-job.yaml +++ b/helm/charts/opencoze/templates/mysql-init-job.yaml @@ -23,9 +23,6 @@ spec: mysql -h {{ .Release.Name }}-mysql -u {{ .Values.mysql.user }} -p"{{ .Values.mysql.password }}" {{ .Values.mysql.database }} < /sql/schema.sql mysql -h {{ .Release.Name }}-mysql -u {{ .Values.mysql.user }} -p"{{ .Values.mysql.password }}" {{ .Values.mysql.database }} < /sql/sql_init.sql volumeMounts: - - name: init-sql - mountPath: /sql/sql_init.sql - subPath: sql_init.sql - name: schema-sql mountPath: /sql/schema.sql subPath: schema.sql @@ -37,12 +34,6 @@ spec: image: {{ .Values.images.busybox }} command: ["echo", "MySQL initialization complete"] volumes: - - name: init-sql - configMap: - name: {{ include "opencoze.fullname" . }}-mysql-init - items: - - key: sql_init.sql - path: sql_init.sql - name: schema-sql configMap: name: {{ include "opencoze.fullname" . }}-mysql-init