Skip to content

Commit 38948f6

Browse files
Merge pull request #8 from ls1intum/fix-helm-chart
Fix helm chart
2 parents 1d3296a + be0feb5 commit 38948f6

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

theia-shared-cache/templates/statefulset.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,16 @@ spec:
3636
resources:
3737
{{ toYaml .Values.resources | nindent 12 }}
3838
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 }}
39+
tcpSocket:
40+
port: 5071
4541
initialDelaySeconds: 60
4642
periodSeconds: 10
4743
timeoutSeconds: 5
4844
failureThreshold: 3
4945

5046
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 }}
47+
tcpSocket:
48+
port: 5071
5749
initialDelaySeconds: 30
5850
periodSeconds: 5
5951
timeoutSeconds: 3

0 commit comments

Comments
 (0)