Skip to content

Commit

Permalink
Merge branch 'main' into EVEREST-107-configmap-bug-2
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankshah1607 authored Nov 26, 2024
2 parents c9c77e7 + c159c55 commit cf243a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion charts/pg-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pg-db
description: 'A Helm chart to deploy the PostgreSQL database with the Percona Operator for PostgreSQL'
type: application
version: 2.5.0
version: 2.5.1
appVersion: 2.5.0
home: https://docs.percona.com/percona-operator-for-postgresql/2.0/
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/pg-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To install the chart with the `pg` release name using a dedicated namespace (rec

```sh
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-db percona/pg-db --version 2.5.0 --namespace my-namespace
helm install my-db percona/pg-db --version 2.5.1 --namespace my-namespace
```

The chart can be customized using the following configurable parameters:
Expand Down
23 changes: 4 additions & 19 deletions charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,7 @@ spec:

{{- if $instance.tolerations }}
tolerations:
{{- range $toleration := $instance.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{ $instance.tolerations | toYaml | indent 8 }}
{{- end }}

{{- if $instance.priorityClassName }}
Expand Down Expand Up @@ -361,12 +356,7 @@ spec:
{{- end }}
{{- if .Values.proxy.pgBouncer.tolerations }}
tolerations:
{{- range $toleration := .Values.proxy.pgBouncer.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{ .Values.proxy.pgBouncer.tolerations | toYaml | indent 8 }}
{{- end }}
{{- if .Values.proxy.pgBouncer.securityContext }}
securityContext:
Expand Down Expand Up @@ -422,15 +412,10 @@ spec:
memory: {{ .Values.backups.pgbackrest.jobs.resources.limits.memory }}
{{- if .Values.backups.pgbackrest.jobs.tolerations }}
tolerations:
{{- range $toleration := .Values.backups.pgbackrest.jobs.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{ .Values.backups.pgbackrest.jobs.tolerations | toYaml | indent 10 }}
{{- end }}
{{- if .Values.backups.pgbackrest.jobs.securityContext }}
securityContext:
securityContext:
{{ .Values.backups.pgbackrest.jobs.securityContext | toYaml | indent 10 }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit cf243a4

Please sign in to comment.