Skip to content

Commit

Permalink
fix(logto): secret: Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ISNing committed May 2, 2024
1 parent 1323214 commit 36be4c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/logto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.13

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/logto/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ data:
POSTGRES_HOST: {{ printf "%s.%s.svc.cluster.local" (include "postgresql.v1.primary.fullname" .Subcharts.postgresql) .Release.Namespace | b64enc | quote }}
POSTGRES_PORT: {{ include "postgresql.v1.service.port" .Subcharts.postgresql | b64enc | quote }}
POSTGRES_USERNAME: {{ include "postgresql.v1.username" .Subcharts.postgresql | b64enc | quote }}
{{- else -}}
{{- else }}
DB_URL: {{ .Values.dbUrl | b64enc | quote }}
{{- end -}}
{{- end }}
stringData:
{{- if .Values.postgresql.enabled }}
POSTGRES_PASSWORD:
valueFrom:
secretKeyRef:
name: {{ include "postgresql.v1.secretName" .Subcharts.postgresql }}
key: password
{{- end -}}
{{- end }}

0 comments on commit 36be4c3

Please sign in to comment.