Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jul 18, 2024
1 parent 192e4c0 commit 0331cf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charts/dbgate/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if not .Values.authzproxy.enabled }}
env:
- name: CONNECTIONS
value: "PRIMARY"
Expand All @@ -99,13 +98,15 @@ spec:
secretKeyRef:
name: {{ .Values.app.authSecret.name }}
key: username
{{- if .Values.authzproxy.enabled }}
- name: PASSWORD_PRIMARY
valueFrom:
secretKeyRef:
name: {{ .Values.app.authSecret.name }}
key: password
{{- else }}
- name: PASSWORD_MODE_PRIMARY
value: askUser
value: askPassword
{{- end }}
ports:
- name: http
Expand Down

0 comments on commit 0331cf3

Please sign in to comment.