Skip to content

Commit fcdaca8

Browse files
authored
chore(postgresql-cluster): update service type to ClusterIP (#35)
1 parent ce36d69 commit fcdaca8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

addons/postgresql-cluster/15/chart/postgresql-cluster/templates/svc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
heritage: {{ .Release.Service }}
1212
cluster-name: {{ template "patroni.fullname" . }}
1313
spec:
14-
type: {{ .Values.service.type }}
14+
type: ClusterIP
1515
ports:
1616
- port: 5432
1717
targetPort: 5432

addons/postgresql-cluster/15/chart/postgresql-cluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ metrics:
213213
## @param metrics.customMetrics Define additional custom metrics
214214
## ref: https://github.com/wrouesnel/postgres_exporter#adding-new-metrics-via-a-config-file
215215
## customMetrics:
216-
## pg_database:
216+
## pg_database:....
217217
## query: "SELECT d.datname AS name, CASE WHEN pg_catalog.has_database_privilege(d.datname, 'CONNECT') THEN pg_catalog.pg_database_size(d.datname) ELSE 0 END AS size_bytes FROM pg_catalog.pg_database d where datname not in ('template0', 'template1', 'postgres')"
218218
## metrics:
219219
## - name:

0 commit comments

Comments
 (0)