Skip to content

Commit

Permalink
Merge pull request #210 from memphisdev/metadata
Browse files Browse the repository at this point in the history
Metadata
  • Loading branch information
valeraBr authored Dec 27, 2023
2 parents 953a3e1 + 8a25ce4 commit 1957fa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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

0 comments on commit 1957fa6

Please sign in to comment.