From 943d0ddb6981b92e95a8b7970425e0cc84911ec1 Mon Sep 17 00:00:00 2001 From: Artyom Petrosov Date: Wed, 9 Oct 2024 16:04:21 +0300 Subject: [PATCH] Helm chart support for tolerations --- .../infisical-standalone-postgres/templates/infisical.yaml | 4 ++++ helm-charts/infisical-standalone-postgres/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index ac941c9b2..04856406e 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -29,6 +29,10 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} + {{- with $infisicalValues.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} {{- if $infisicalValues.image.imagePullSecrets }} imagePullSecrets: {{- toYaml $infisicalValues.image.imagePullSecrets | nindent 6 }} diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index e4c1d51b5..83e6318e0 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -49,6 +49,8 @@ infisical: # -- Node affinity settings for pod placement affinity: {} + # -- Tolerations definitions + tolerations: [] # -- Kubernetes Secret reference containing Infisical root credentials kubeSecretRef: "infisical-secrets"