mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-06-28 20:47:36 +02:00
adjust postgresql-ha service port mappings
This commit is contained in:
parent
f108be0cd6
commit
c6fbb6d72e
|
@ -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" -}}
|
||||||
|
|
13
values.yaml
13
values.yaml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user