Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: conditional mysql root password omnly for internal #10

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/portkey-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,13 @@ Template containing common environment variables that are used by several servic
secretKeyRef:
name: {{ include "portkey.mysqlSecretsName" . }}
key: mysql_password
{{ if not .Values.mysql.external.enabled }}
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "portkey.mysqlSecretsName" . }}
key: mysql_root_password
{{- end }}

{{- if .Values.config.oauth.enabled }}
- name: AUTH_MODE
Expand Down
2 changes: 1 addition & 1 deletion charts/portkey-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ redis:
connectionUrl: ""
tlsEnabled: ""
mode: ""
store: ""
store: "redis"
existingSecretName: ""
containerPort: 6379
statefulSet:
Expand Down