Skip to content

Commit

Permalink
Update postgresql auth config (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
fectrain authored Apr 8, 2024
1 parent 7a2235d commit 5b621dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ data:
{{- end }}
{{- if .Values.postgresql.enabled }}
druid_metadata_storage_type: postgresql
druid_metadata_storage_connector_connectURI: jdbc:postgresql://{{ .Release.Name }}-postgresql:{{ .Values.postgresql.service.port}}/{{ .Values.postgresql.postgresqlDatabase }}
druid_metadata_storage_connector_user: {{ .Values.postgresql.postgresqlUsername }}
druid_metadata_storage_connector_password: {{ .Values.postgresql.postgresqlPassword }}
druid_metadata_storage_connector_connectURI: jdbc:postgresql://{{ .Release.Name }}-postgresql:{{ .Values.postgresql.service.port}}/{{ .Values.postgresql.auth.database }}
druid_metadata_storage_connector_user: {{ .Values.postgresql.auth.username }}
druid_metadata_storage_connector_password: {{ .Values.postgresql.auth.password }}
{{- end }}
{{- if .Values.gCloudStorage.enabled }}
GOOGLE_APPLICATION_CREDENTIALS: /var/secrets/google/key.json
Expand Down
7 changes: 4 additions & 3 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,10 @@ mysql:
# ------------------------------------------------------------------------------
postgresql:
enabled: true
postgresqlUsername: druid
postgresqlPassword: druid
postgresqlDatabase: druid
auth:
username: druid
password: druid
database: druid
service:
port: 5432

Expand Down

0 comments on commit 5b621dd

Please sign in to comment.