Skip to content

Commit db934a9

Browse files
committed
[ws-proxy] Make HTTPS cert file names configurable
1 parent 89fabb1 commit db934a9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: chart/templates/ws-proxy-configmap.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ data:
3333
},
3434
"proxy": {
3535
"https": {
36+
{{- if (and $.Values.certificatesSecret.chainName $.Values.certificatesSecret.keyName) }}
37+
"crt": "/mnt/certificates/{{ $.Values.certificatesSecret.chainName }}",
38+
"key": "/mnt/certificates/{{ $.Values.certificatesSecret.keyName }}"
39+
{{- else }}
3640
"crt": "/mnt/certificates/tls.crt",
3741
"key": "/mnt/certificates/tls.key"
42+
{{- end }}
3843
},
3944
"transportConfig": {
4045
"connectTimeout": "10s",

Diff for: chart/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ version:
77
hostname: localhost
88
certificatesSecret:
99
secretName: https-certificates
10+
keyName: privkey.pem
11+
chainName: chain.pem
12+
fullChainName: fullchain.pem
1013

1114
imagePrefix: gcr.io/gitpod-io/self-hosted/
1215
installation:

0 commit comments

Comments
 (0)