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

Optionally use secret to set env variables in setup credentials job #194

Open
LilMonk opened this issue Nov 8, 2024 · 0 comments
Open

Comments

@LilMonk
Copy link

LilMonk commented Nov 8, 2024

Give an option to use a kubernetes secret for setting these env variables.

{{- if .Values.authCredentials.ysql.user }}
- name: YSQL_USER
value: "{{ .Values.authCredentials.ysql.user }}"
{{- end }}
{{- if .Values.authCredentials.ysql.password }}
- name: YSQL_PASSWORD
value: "{{ .Values.authCredentials.ysql.password }}"
{{- end }}
{{- if .Values.authCredentials.ysql.database }}
- name: YSQL_DB
value: "{{ .Values.authCredentials.ysql.database }}"
{{- end }}
{{- if .Values.authCredentials.ycql.user }}
- name: YCQL_USER
value: "{{ .Values.authCredentials.ycql.user }}"
{{- end }}
{{- if .Values.authCredentials.ycql.password }}
- name: YCQL_PASSWORD
value: "{{ .Values.authCredentials.ycql.password }}"
{{- end }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant