File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 2.0.0] - 2023-07-21
4+ ### Added
5+ - ability to use nodeSelector function
6+
37## [ 1.0.3] - 2023-06-05
48### Chaged
59- increased failure threshold
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 1 .0.3
18+ version : 2 .0.0
1919# This is the version number of the application being deployed. This version number should be
2020# incremented each time you make changes to the application. Versions are not expected to
2121# follow Semantic Versioning. They should reflect the version the application is using.
Original file line number Diff line number Diff line change 6969 failureThreshold : 30
7070 periodSeconds : 10
7171 {{- end }}
72+ nodeSelector :
73+ {{- with .Values.nodeSelector }}
74+ {{- toYaml . | nindent 8 }}
75+ {{- end }}
7276 {{- if .Values.volumes.enabled }}
7377 {{- if .Values.volumes.type.pvc }}
7478 {{- $ownership := regexSplit ":" .Values.volumes.ownership -1 }}
Original file line number Diff line number Diff line change 2525 spec :
2626 restartPolicy : Never
2727 containers :
28- - name : alpine
29- image : arm32v7/alpine:3.17.2
28+ - name : " {{ .Release.Name }}-init-websitedir "
29+ image : gitea.angrybits.pl/kkrolikowski/toolbox:0.0.1
3030 env :
3131 - name : WEBSITE_DIRS
3232 {{- range .Values.volumes.mountPath }}
4545 - -c
4646 - >-
4747 mkdir -p $(WEBSITE_DIRS);
48+ nodeSelector :
49+ {{- with .Values.nodeSelector }}
50+ {{- toYaml . | nindent 8 }}
51+ {{- end }}
4852 volumes :
4953 - name : {{ .Release.Name }}-volume
5054 nfs :
Original file line number Diff line number Diff line change 2424 restartPolicy : Never
2525 containers :
2626 - name : mysqldb-helper
27- image : devkrolikowski/mysqldb-helper :0.1.0
27+ image : gitea.angrybits.pl/kkrolikowski/mysql-initdb :0.0.1
2828 env :
2929 - name : DB_ADMIN_LOGIN
3030 valueFrom :
4949 name : {{ .Release.Name }}-db
5050 key : password
5151 - name : DB_HOST
52- value : lab-helper.lan
52+ value : srv-db2.lan
53+ nodeSelector :
54+ {{- with .Values.nodeSelector }}
55+ {{- toYaml . | nindent 8 }}
56+ {{- end }}
5357{{- end }}
Original file line number Diff line number Diff line change @@ -19,4 +19,6 @@ volumes:
1919 type :
2020 nfs :
2121 server : lab-storage.lan
22- path : /volume1/storagelab
22+ path : /volume1/storagelab
23+ nodeSelector :
24+ kubernetes.io/arch : arm64
Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ startupProbes:
3333deployNotifications :
3434 enabled : false
3535 image : " "
36+ nodeSelector : {}
You can’t perform that action at this time.
0 commit comments