From af95df15420af31f49e402926af31c18bfed052d Mon Sep 17 00:00:00 2001 From: Ahmad Nurus S Date: Mon, 11 Dec 2023 16:24:13 +0700 Subject: [PATCH] add missing tolerations (#20) --- Chart.yaml | 2 +- templates/statefulset.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Chart.yaml b/Chart.yaml index b756778..9e0b308 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgresql -version: 0.2.4 +version: 0.2.5 appVersion: 11.5.0 description: PostgreSQL is an open-source object-relational database management system (ORDBMS) emphasizing extensibility and technical standards compliance. keywords: diff --git a/templates/statefulset.yaml b/templates/statefulset.yaml index 93724eb..dd02046 100644 --- a/templates/statefulset.yaml +++ b/templates/statefulset.yaml @@ -120,6 +120,10 @@ spec: {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} + {{- end }} + {{- if .Values.tolerations }} + tolerations: +{{ toYaml .Values.tolerations | indent 8 }} {{- end }} {{- if .Values.nodeName }} nodeName: {{ .Values.nodeName | quote }}