Compare commits
No commits in common. "4c8b57c968a4d22279494742add2e701914986a1" and "3dd28f0b78c0f93267ad8e23a22fc5e89192ff14" have entirely different histories.
4c8b57c968
...
3dd28f0b78
@ -50,12 +50,12 @@ spec:
|
|||||||
- name: MYSQL_DATABASE
|
- name: MYSQL_DATABASE
|
||||||
value: {{ include "hades.databaseName" . | quote }}
|
value: {{ include "hades.databaseName" . | quote }}
|
||||||
- name: MYSQL_USER
|
- name: MYSQL_USER
|
||||||
value: {{ .Values.dbInit.mysqlUser | default "root" | quote }}
|
value: {{ include "hades.databaseUsername" . | quote }}
|
||||||
- name: MYSQL_PWD
|
- name: MYSQL_PWD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "hades.databaseSecretName" . }}
|
name: {{ include "hades.databaseSecretName" . }}
|
||||||
key: {{ .Values.dbInit.mysqlPasswordKey | default "mysql-root-password" }}
|
key: mysql-password
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@ -123,7 +123,7 @@ database:
|
|||||||
host: "" # Will be set to mysql.fullname if mysql.enabled=true
|
host: "" # Will be set to mysql.fullname if mysql.enabled=true
|
||||||
port: "3306"
|
port: "3306"
|
||||||
name: "hades_db"
|
name: "hades_db"
|
||||||
username: "hades_user"
|
username: "mysql_user"
|
||||||
password: "" # Leave empty to auto-generate
|
password: "" # Leave empty to auto-generate
|
||||||
# For external database, set mysql.enabled=false and configure above values
|
# For external database, set mysql.enabled=false and configure above values
|
||||||
|
|
||||||
@ -166,8 +166,6 @@ mysql:
|
|||||||
# Automatically runs all SQL migration files from sql/ directory in alphabetical order
|
# Automatically runs all SQL migration files from sql/ directory in alphabetical order
|
||||||
dbInit:
|
dbInit:
|
||||||
enabled: true
|
enabled: true
|
||||||
mysqlUser: "root"
|
|
||||||
mysqlPasswordKey: "mysql-root-password"
|
|
||||||
|
|
||||||
# ConfigMap for application configuration files
|
# ConfigMap for application configuration files
|
||||||
config:
|
config:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user