Skip to content

Commit 52b8df2

Browse files
committed
Link Secret and ConfigMap names in values.yaml
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
1 parent d55881d commit 52b8df2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

charts/devlake/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ grafana:
171171
root_url: "%(protocol)s://%(domain)s/grafana"
172172
# the Secret name should be the same as .Values.option.connectionSecretName
173173
envFromSecrets:
174-
- name: "devlake-mysql-auth"
174+
- name: &devlake_mysql_auth "devlake-mysql-auth"
175175
# the ConfigMap name should be the same as .Values.option.connectionConfigmapName
176176
extraEnvFrom:
177177
- configMapRef:
178-
name: "devlake-mysql-auth-config"
178+
name: &devlake_mysql_auth_config "devlake-mysql-auth-config"
179179
#keep grafana timezone same as other pods, which is set by .Values.commonEnvs.TZ
180180
env:
181181
TZ: "UTC"
@@ -439,10 +439,10 @@ option:
439439
# database type, supported: [mysql]
440440
database: mysql
441441
# the existing k8s secret name of db connection auth. The secret name should be as same as .Values.grafana.envFromSecret
442-
connectionSecretName: "devlake-mysql-auth"
442+
connectionSecretName: *devlake_mysql_auth
443443
# Optional: override the ConfigMap name for non-sensitive DB envs used across components
444444
# Default is a fixed name to align references from subcharts
445-
connectionConfigmapName: "devlake-mysql-auth-config"
445+
connectionConfigmapName: *devlake_mysql_auth_config
446446
autoCreateSecret: true
447447
# If true, the chart assembles DB_URL automatically for MySQL. Set to false
448448
# to disable auto-assembly and provide DB_URL yourself via `lake.envs` or

0 commit comments

Comments
 (0)