adjust postgresql-ha service port mappings

This commit is contained in:
pat-s 2023-07-18 19:07:33 +02:00
parent f108be0cd6
commit c6fbb6d72e
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
2 changed files with 7 additions and 8 deletions

View File

@ -113,7 +113,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}} {{- end -}}
{{- define "postgresql.dns" -}} {{- define "postgresql.dns" -}}
{{- printf "%s-postgresql-ha-postgresql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "postgresql-ha" "global" "postgresql" "service" "ports" "postgresql") -}} {{- printf "%s-postgresql-ha-postgresql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "postgresql-ha" "service" "ports" "postgresql") -}}
{{- end -}} {{- end -}}
{{- define "redis.dns" -}} {{- define "redis.dns" -}}

View File

@ -490,13 +490,12 @@ postgresql-ha:
enabled: true enabled: true
global: global:
postgresql: postgresql:
auth: password: gitea
password: gitea database: gitea
database: gitea username: gitea
username: gitea service:
service: ports:
ports: postgresql: 5432
postgresql: 5432
primary: primary:
persistence: persistence:
size: 10Gi size: 10Gi