File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 : 0.1.4
18+ version : 0.1.5
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -21,20 +21,60 @@ spec:
2121 containers :
2222 - name : theia-shared-cache
2323 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
24- args : ["start"]
24+ args :
25+ - " start"
26+ {{- if .Values.tls.enabled }}
27+ - " --tls"
28+ - " --tls-cert=/etc/tls/tls.crt"
29+ - " --tls-key=/etc/tls/tls.key"
30+ {{- end }}
2531 ports :
26- - name : http
32+ - name : {{- if .Values.tls.enabled }} https{{- else }} http{{- end }}
2733 containerPort : 5071
2834 - name : grpc-bazel
2935 containerPort : 6011
3036 resources :
3137{{ toYaml .Values.resources | nindent 12 }}
38+ livenessProbe :
39+ httpGet :
40+ path : /cache-node-info/health
41+ port : {{ if .Values.tls.enabled }}https{{ else }}http{{ end }}
42+ {{- if .Values.tls.enabled }}
43+ scheme : HTTPS
44+ {{- end }}
45+ initialDelaySeconds : 60
46+ periodSeconds : 10
47+ timeoutSeconds : 5
48+ failureThreshold : 3
49+
50+ readinessProbe :
51+ httpGet :
52+ path : /cache-node-info/health
53+ port : {{ if .Values.tls.enabled }}https{{ else }}http{{ end }}
54+ {{- if .Values.tls.enabled }}
55+ scheme : HTTPS
56+ {{- end }}
57+ initialDelaySeconds : 30
58+ periodSeconds : 5
59+ timeoutSeconds : 3
60+ failureThreshold : 3
3261 env :
3362 - name : EXCLUSIVE_VOLUME_SIZE
3463 value : " {{ .Values.persistence.size }}"
3564 volumeMounts :
3665 - mountPath : /data
3766 name : theia-shared-cache-data-volume
67+ {{- if .Values.tls.enabled }}
68+ - mountPath : /etc/tls
69+ name : tls
70+ readOnly : true
71+ {{- end }}
72+ {{- if .Values.tls.enabled }}
73+ volumes :
74+ - name : tls
75+ secret :
76+ secretName : {{ .Values.tls.secretName }}
77+ {{- end }}
3878 volumeClaimTemplates :
3979 - metadata :
4080 name : theia-shared-cache-data-volume
Original file line number Diff line number Diff line change 66 tag : " 21.2"
77 pullPolicy : IfNotPresent
88
9+ tls :
10+ enabled : false
11+ secretName : cache-internal-cert-secret
12+
913# Persistence: used for StatefulSet volumeClaimTemplates
1014persistence :
1115 size : 10Gi
You can’t perform that action at this time.
0 commit comments