From 146572c3ac405af5584edce9fdee273690235968 Mon Sep 17 00:00:00 2001 From: Jean-Michel Crepel Date: Thu, 5 Sep 2024 10:05:04 +0200 Subject: [PATCH] adding toleration for sftp deployment --- sftp/Chart.yaml | 2 +- sftp/templates/sftp-depl.yaml | 4 ++++ sftp/values.yaml | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sftp/Chart.yaml b/sftp/Chart.yaml index cca71ba..7458190 100644 --- a/sftp/Chart.yaml +++ b/sftp/Chart.yaml @@ -4,6 +4,6 @@ description: A Helm chart for deploying a SFTP stack type: application -version: 1.0.0 +version: 1.1.0 appVersion: "1.0" diff --git a/sftp/templates/sftp-depl.yaml b/sftp/templates/sftp-depl.yaml index 72136e6..9fd2b86 100644 --- a/sftp/templates/sftp-depl.yaml +++ b/sftp/templates/sftp-depl.yaml @@ -64,4 +64,8 @@ spec: {{- if .Values.sftp.extraVolumes }} {{- .Values.sftp.extraVolumes | toYaml | nindent 6 }} {{- end }} + {{- if .Values.sftp.tolerations }} + tolerations: + {{- .Values.sftp.tolerations | toYaml | nindent 6 }} + {{- end }} status: {} diff --git a/sftp/values.yaml b/sftp/values.yaml index 0893b0f..6fcb0f6 100644 --- a/sftp/values.yaml +++ b/sftp/values.yaml @@ -30,7 +30,9 @@ sftp: # persistentVolumeClaim: # claimName: persitent-volume-claim -# Developper and customer public keys + tolerations: [] + + # Developper and customer public keys authorized_keys: "" # Server keys