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

Metadata #210

Merged
merged 2 commits into from
Dec 27, 2023
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
5 changes: 2 additions & 3 deletions memphis/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

__ __ _ _
| \/ | ___ _ __ ___ _ __ | |__ (_)___
| |\/| |/ _ \ '_ ` _ \| '_ \| '_ \| / __|
Expand Down Expand Up @@ -34,9 +33,9 @@ Deployment Information
-------------------------
## Secrets ##
UI/CLI/SDK root username - root
UI/CLI root Password - kubectl get secret memphis-creds -n {{ .Release.Namespace }} -o jsonpath="{.data.ROOT_PASSWORD}" | base64 --decode
UI/CLI root Password - kubectl get secret {{ .Values.memphis.creds.secretConfig.name }} -n {{ .Release.Namespace }} -o jsonpath="{.data.ROOT_PASSWORD}" | base64 --decode
{{- if eq .Values.user_pass_based_auth false }}
SDK root connection token - kubectl get secret memphis-creds -n {{ .Release.Namespace }} -o jsonpath="{.data.CONNECTION_TOKEN}" | base64 --decode
SDK root connection token - kubectl get secret {{ .Values.memphis.creds.secretConfig.name }} -n {{ .Release.Namespace }} -o jsonpath="{.data.CONNECTION_TOKEN}" | base64 --decode
{{- end }}


Expand Down
2 changes: 1 addition & 1 deletion memphis/templates/memphis_statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ spec:
- name: METADATA_DB_PASS
valueFrom:
secretKeyRef:
name: "memphis-metadata"
name: {{ if .Values.metadata.postgresql.existingSecret }}{{ .Values.metadata.postgresql.existingSecret | quote }}{{ else }}{{ "memphis-metadata" }}{{ end }}
key: password
- name: METADATA_DB_DBNAME
value: "memphis"
Expand Down
2 changes: 2 additions & 0 deletions memphis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ metadata:
initdbScripts:
init.sql: |
CREATE DATABASE memphis;
existingSecret: ""
fullnameOverride: memphis-metadata
pgpool:
image:
Expand All @@ -528,6 +529,7 @@ metadata:
certFilename: ""
certKeyFilename: ""
certCAFilename: ""
existingSecret: ""
external:
enabled: false
dbTlsMutual: true
Expand Down