Skip to content

Commit bb04e3e

Browse files
committed
Fix db username variable
1 parent e487dd7 commit bb04e3e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/monica/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: monica
33
description: A Helm chart for Kubernetes to install Monica
44
type: application
5-
version: 1.0.5
5+
version: 1.0.6
66
appVersion: "1.0.0"
77
icon: https://www.monicahq.com/favicon.ico
88
maintainers:

charts/monica/templates/_helpers.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Create environment variables used to configure the monica container as well as t
124124
value: {{ template "mariadb.primary.fullname" .Subcharts.mariadb }}
125125
- name: DB_DATABASE
126126
value: {{ .Values.mariadb.auth.database | quote }}
127-
- name: DB_USER
127+
- name: DB_USERNAME
128128
valueFrom:
129129
secretKeyRef:
130130
name: {{ .Values.externalDatabase.existingSecret.secretName | default (printf "%s-%s" .Release.Name "db") }}
@@ -145,7 +145,7 @@ Create environment variables used to configure the monica container as well as t
145145
{{ else }}
146146
value: {{ .Values.postgresql.global.postgresql.auth.database | quote }}
147147
{{- end }}
148-
- name: DB_USER
148+
- name: DB_USERNAME
149149
valueFrom:
150150
secretKeyRef:
151151
name: {{ .Values.externalDatabase.existingSecret.secretName | default (printf "%s-%s" .Release.Name "db") }}
@@ -167,7 +167,7 @@ Create environment variables used to configure the monica container as well as t
167167
value: {{ .Values.externalDatabase.host | quote }}
168168
- name: DB_DATABASE
169169
value: {{ .Values.externalDatabase.database | quote }}
170-
- name: DB_USER
170+
- name: DB_USERNAME
171171
valueFrom:
172172
secretKeyRef:
173173
name: {{ .Values.externalDatabase.existingSecret.secretName | default (printf "%s-%s" .Release.Name "db") }}

0 commit comments

Comments
 (0)