From 45e561eec7d2b8c42e3f79017e4fe976bb5ad80d Mon Sep 17 00:00:00 2001 From: Ryo Date: Thu, 31 Jul 2025 15:27:36 +0800 Subject: [PATCH] chore(ci): remove sql_init.sql for helm (#399) --- helm/charts/opencoze/templates/mysql-init-job.yaml | 9 --------- 1 file changed, 9 deletions(-) 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