Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions charts/pg-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ The chart can be customized using the following configurable parameters:
| `backups.pgbackrest.jobs.tolerations.operator` | The Kubernetes Pod tolerations operator for a backup job | `Equal` |
| `backups.pgbackrest.jobs.tolerations.value` | The Kubernetes Pod tolerations value for a backup job | `connection-poolers` |
| `backups.pgbackrest.jobs.securityContext` | The Kubernetes Pod security context for pgBackRest jobs | `{}` |
| `backups.pgbackrest.jobs.livenessProbe` | The Kubernetes Pod livenessProbe structure for a backup job | `{}` |
| `backups.pgbackrest.jobs.readinessProbe` | The Kubernetes Pod readinessProbe structure for a backup job | `{}` |
| `backups.pgbackrest.global` | Settings, which are to be included in the global section of the pgBackRest configuration generated by the Operator | `/pgbackrest/postgres-operator/hippo/repo1` |
| `backups.pgbackrest.repoHost.topologySpreadConstraints.maxSkew` | The degree to which Pods may be unevenly distributed under the Kubernetes Pod Topology Spread Constraints | `1` |
| `backups.pgbackrest.repoHost.topologySpreadConstraints.topologyKey` | The key of node labels for the Kubernetes Pod Topology Spread Constraints | `my-node-label` |
Expand Down
6 changes: 6 additions & 0 deletions charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@ spec:
{{- end }}
{{- if .Values.backups.pgbackrest.jobs }}
jobs:
{{- if .Values.backups.pgbackrest.jobs.restartPolicy }}
restartPolicy: {{ .Values.backups.pgbackrest.jobs.restartPolicy }}
{{- end }}
{{- if .Values.backups.pgbackrest.jobs.backoffLimit }}
backoffLimit: {{ .Values.backups.pgbackrest.jobs.backoffLimit }}
{{- end }}
{{- if .Values.backups.pgbackrest.jobs.priorityClassName }}
priorityClassName: {{ .Values.backups.pgbackrest.jobs.priorityClassName }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/pg-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ backups:
# - secret:
# name: cluster1-pgbackrest-secrets
# jobs:
# restartPolicy: OnFailure
# backoffLimit: 2
# priorityClassName: high-priority
# resources:
# limits:
Expand Down