Skip to content

Commit 6e31049

Browse files
Merge pull request #10 from ls1intum/fix-helm-chart
Remove static tls cert, and generate tls dynamicly
2 parents 2274099 + 73dad88 commit 6e31049

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

theia-shared-cache/templates/statefulset.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ spec:
2424
args:
2525
- "start"
2626
{{- if .Values.tls.enabled }}
27-
- "--tls"
28-
- "--tls-cert=/etc/tls/tls.crt"
29-
- "--tls-key=/etc/tls/tls.key"
30-
- "--allow-untrusted-ssl"
27+
- "--generate-self-signed-cert"
3128
{{- end }}
3229
ports:
3330
- name: {{- if .Values.tls.enabled }} https{{- else }} http{{- end }}
@@ -57,17 +54,6 @@ spec:
5754
volumeMounts:
5855
- mountPath: /data
5956
name: theia-shared-cache-data-volume
60-
{{- if .Values.tls.enabled }}
61-
- mountPath: /etc/tls
62-
name: tls
63-
readOnly: true
64-
{{- end }}
65-
{{- if .Values.tls.enabled }}
66-
volumes:
67-
- name: tls
68-
secret:
69-
secretName: {{ .Values.tls.secretName }}
70-
{{- end }}
7157
volumeClaimTemplates:
7258
- metadata:
7359
name: theia-shared-cache-data-volume

theia-shared-cache/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ image:
88

99
tls:
1010
enabled: false
11-
secretName: cache-internal-cert-secret
1211

1312
# Persistence: used for StatefulSet volumeClaimTemplates
1413
persistence:

0 commit comments

Comments
 (0)