Skip to content

Commit

Permalink
Update further toleration instances in the pg-db cluster template
Browse files Browse the repository at this point in the history
  • Loading branch information
kv-dhyey-moliya authored Sep 4, 2024
1 parent 43c63eb commit 2a88d80
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ spec:
{{- if $instance.tolerations }}
tolerations:
{{- range $toleration := $instance.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{- end }}

Expand Down Expand Up @@ -356,10 +356,10 @@ spec:
{{- if .Values.proxy.pgBouncer.tolerations }}
tolerations:
{{- range $toleration := .Values.proxy.pgBouncer.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{- end }}
{{- if .Values.proxy.pgBouncer.securityContext }}
Expand Down Expand Up @@ -414,10 +414,12 @@ spec:
memory: {{ .Values.backups.pgbackrest.jobs.resources.limits.memory }}
{{- if .Values.backups.pgbackrest.jobs.tolerations }}
tolerations:
- effect: {{ .Values.backups.pgbackrest.jobs.tolerations.effect }}
key: {{ .Values.backups.pgbackrest.jobs.tolerations.key }}
operator: {{ .Values.backups.pgbackrest.jobs.tolerations.operator }}
value: {{ .Values.backups.pgbackrest.jobs.tolerations.value }}
{{- range $toleration := .Values.backups.pgbackrest.jobs.tolerations }}
- effect: {{ $toleration.effect }}
key: {{ $toleration.key }}
operator: {{ $toleration.operator }}
value: {{ $toleration.value }}
{{- end }}
{{- end }}
{{- if .Values.backups.pgbackrest.jobs.securityContext }}
securityContext:
Expand Down

0 comments on commit 2a88d80

Please sign in to comment.