File tree Expand file tree Collapse file tree 6 files changed +32
-18
lines changed
Expand file tree Collapse file tree 6 files changed +32
-18
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 2.6.0] - 2024-10-19
4+
5+ ### Changed
6+
7+ - Startup and Liveness probes are moved to HelmRelease file
8+ - initWebsiteDir hook: create website dir when it does not exist
9+
310## [ 2.5.0] - 2024-09-01
411
512### Added
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 : 2.5 .0
18+ version : 2.6 .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 @@ -61,20 +61,17 @@ spec:
6161 containerPort : {{.targetPort }}
6262 protocol : TCP
6363 {{- end }}
64- {{- if .Values.startupProbes.enabled }}
64+ {{- if .Values.startupProbe }}
6565 startupProbe :
66- httpGet :
67- path : /
68- port : {{ .Values.startupProbes.port | default 80 }}
69- failureThreshold : 30
70- periodSeconds : 10
66+ {{- with .Values.startupProbe }}
67+ {{- toYaml . | nindent 13 }}
68+ {{- end }}
7169 {{- end }}
7270 {{- if .Values.livenessProbe }}
7371 livenessProbe :
74- tcpSocket :
75- port : {{ .Values.livenessProbe.port }}
76- initialDelaySeconds : 10
77- periodSeconds : 2
72+ {{- with .Values.livenessProbe }}
73+ {{- toYaml . | nindent 13 }}
74+ {{- end }}
7875 {{- end }}
7976 {{- if .Values.livenessProbe }}
8077 tolerations :
@@ -117,4 +114,4 @@ spec:
117114 persistentVolumeClaim :
118115 claimName : {{ .Release.Name }}-pvc
119116 {{- end }}
120- {{- end }}
117+ {{- end }}
Original file line number Diff line number Diff line change 4848 args :
4949 - -c
5050 - >-
51- mkdir -p $(WEBSITE_DIRS); chown -R $(OWNERSHIP) $(WEBSITE_DIRS);
51+ if [! -d $(WEBSITE_DIRS) ]; then
52+ mkdir -p $(WEBSITE_DIRS);
53+ chown -R $(OWNERSHIP) $(WEBSITE_DIRS);
54+ fi
5255 nodeSelector :
5356 {{- with .Values.nodeSelector }}
5457 {{- toYaml . | nindent 8 }}
5962 server : {{ .Values.volumes.type.nfs.server }}
6063 path : {{ .Values.volumes.type.nfs.path }}
6164{{- end }}
62- {{- end }}
65+ {{- end }}
Original file line number Diff line number Diff line change @@ -51,3 +51,14 @@ ingress:
5151 servicePort : 80
5252 - name : registry.lab.angrybits.pl
5353 servicePort : 5050
54+ startupProbe :
55+ httpGet :
56+ path : /
57+ port : 666
58+ failureThreshold : 30
59+ periodSeconds : 10
60+ livenessProbe :
61+ tcpSocket :
62+ port : 666
63+ initialDelaySeconds : 10
64+ periodSeconds : 2
Original file line number Diff line number Diff line change @@ -25,17 +25,13 @@ ingress:
2525 tls : {}
2626volumes :
2727 enabled : false
28- rootDir : " "
2928 mountPath : []
3029 ownership : " "
3130 type :
3231 nfs :
3332 server : lab-storage.lan
3433 path : /volume1/storagelab
35- startupProbes :
36- enabled : true
3734deployNotifications :
3835 enabled : false
3936 image : " "
4037nodeSelector : {}
41- livenessProbe : {}
You can’t perform that action at this time.
0 commit comments