Skip to content

Commit

Permalink
adding toleration for apache-nas
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 committed Sep 6, 2024
1 parent 146572c commit 1997903
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apache-nas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 4 additions & 0 deletions apache-nas/templates/apache-nas-depl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
2 changes: 2 additions & 0 deletions apache-nas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ nas:

env_variables: []

tolerations: []

docker_image: php:7.4-apache

0 comments on commit 1997903

Please sign in to comment.