Skip to content

Commit

Permalink
postgresql values still wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Apr 22, 2021
1 parent b478714 commit 794d400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/saleor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.8
version: 0.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
6 changes: 3 additions & 3 deletions charts/saleor/templates/saleor_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ type: Opaque
data:
EMAIL_URL: {{ .Values.global.emailUrl | b64enc | quote }}
SECRET_KEY: {{ .Values.global.secretKey | b64enc | quote }}
{{ if .Values.global.postgresql.DATABASE_URL}}
DATABASE_URL: {{ .Values.postgresql.DATABASE_URL | b64enc | quote }}
{{ if .Values.global.DATABASE_URL}}
DATABASE_URL: {{ .Values.global.DATABASE_URL | b64enc | quote }}
{{ else }}
DATABASE_URL: "{{- printf "postgres://%s:%s@%s:%s/%s" .Values.global.postgresql.postgresqlUsername .Values.global.postgresql.postgresqlPassword .Values.global.postgresqlHost .Values.global.postgresqlPort .Values.global.postgresql.postgresqlDatabase | b64enc -}}"
DATABASE_URL: "{{- printf "postgres://%s:%s@%s:%s/%s" .Values.global.postgresql.postgresqlUsername .Values.global.postgresql.postgresqlPassword .Values.global.postgresql.postgresqlHost .Values.global.postgresql.postgresqlPort .Values.global.postgresql.postgresqlDatabase | b64enc -}}"
{{ end }}
REDIS_URL: "{{- printf "redis://:%s@saleor-redis-master:6379/0" .Values.global.redis.password | b64enc -}}"
CELERY_BROKER_URL: "{{- printf "redis://:%s@saleor-redis-master:6379/1" .Values.global.redis.password | b64enc -}}"
Expand Down

0 comments on commit 794d400

Please sign in to comment.