diff --git a/apache-nas/Chart.yaml b/apache-nas/Chart.yaml index cc70ad1..36937c3 100644 --- a/apache-nas/Chart.yaml +++ b/apache-nas/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: apache-nas description: A Helm chart for deploying a Apache-httpd server type: application -version: 0.4.0 +version: 0.5.0 appVersion: "1.16.0" diff --git a/apache-nas/templates/apache-nas-depl.yaml b/apache-nas/templates/apache-nas-depl.yaml index a201a5d..f5c66d9 100644 --- a/apache-nas/templates/apache-nas-depl.yaml +++ b/apache-nas/templates/apache-nas-depl.yaml @@ -50,4 +50,8 @@ spec: - name: apache-nas-data persistentVolumeClaim: claimName: {{ .Values.nas.volume.pvc_name }} + {{- if .Values.tolerations }} + tolerations: + {{- .Values.tolerations | toYaml | nindent 6 }} + {{- end }} status: {} diff --git a/apache-nas/values.yaml b/apache-nas/values.yaml index 456e9b6..6996cb9 100644 --- a/apache-nas/values.yaml +++ b/apache-nas/values.yaml @@ -12,4 +12,6 @@ nas: env_variables: [] +tolerations: [] + docker_image: php:7.4-apache