Fix plain connection string in pod env

This commit is contained in:
Jansen Fuller
2026-05-01 11:07:42 -06:00
committed by Dustin J. Mitchell
parent eee66c5475
commit c58bb4800d
5 changed files with 79 additions and 52 deletions

View File

@ -0,0 +1,11 @@
{{- if and .Values.postgres.enabled (eq .Values.postgres.existingSecret "") -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "taskchampion-sync-server.fullname" . }}
labels:
{{- include "taskchampion-sync-server.labels" . | nindent 4 }}
type: Opaque
data:
connection: {{ include "taskchampion-sync-server.postgres-connection" . | b64enc }}
{{- end -}}