Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/pg-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The chart can be customized using the following configurable parameters:
| `port` | PostgreSQL port | `5432` |
| `postgresVersion` | PostgreSQL container version tag | `16` |
| `pause` | Stop PostgreSQL Database safely | `false` |
| `clusterServiceDNSSuffix` | The (non-standard) cluster domain to be used as a suffix of the Service safely | `""` |
| `unmanaged` | Start cluster and don't manage it (cross cluster replication) | `false` |
| `standby.enabled` | Switch/start PostgreSQL Database in standby mode | `false` |
| `standby.host` | Host address of the primary cluster this standby cluster connects to | `` |
Expand Down
5 changes: 4 additions & 1 deletion charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ metadata:
spec:
crVersion: {{ .Values.crVersion }}
{{- include "pg-database.initContainer" .Values | indent 2 }}
{{- if .Values.clusterServiceDNSSuffix }}
clusterServiceDNSSuffix: {{ .Values.clusterServiceDNSSuffix }}
{{- end }}
{{- if .Values.metadata }}
metadata: {{ .Values.metadata | toYaml | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -404,7 +407,7 @@ spec:

pmm:
enabled: {{ .Values.pmm.enabled }}
image: {{ .Values.pmm.image.repository }}:{{ .Values.pmm.image.tag }}
image: "{{ .Values.pmm.image.repository }}:{{ .Values.pmm.image.tag }}"
{{- if .Values.pmm.imagePullPolicy }}
imagePullPolicy: {{ .Values.pmm.imagePullPolicy | default "Always" }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/pg-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ repository: docker.io/percona/percona-distribution-postgresql
image: docker.io/percona/percona-distribution-postgresql:17.7-2
imagePullPolicy: Always
postgresVersion: 17
clusterServiceDNSSuffix: cluster.local
# port: 5432
pause: false
unmanaged: false
Expand Down
5 changes: 5 additions & 0 deletions charts/pg-operator/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7795,6 +7795,8 @@ spec:
are enabled
rule: (has(self.enabled) && self.enabled == false) || (has(self.pgbackrest.repos)
&& size(self.pgbackrest.repos) > 0)
clusterServiceDNSSuffix:
type: string
crVersion:
description: |-
Version of the operator. Update this to new version after operator
Expand Down Expand Up @@ -36731,6 +36733,9 @@ spec:
description: Enable tracking latest restorable time
type: boolean
type: object
clusterServiceDNSSuffix:
description: K8SPG-694
type: string
config:
properties:
files:
Expand Down