File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ {{- if (and $.Values.certificatesSecret.fullChainName $.Values.certificatesSecret.chainName $.Values.certificatesSecret.keyName) }}
2
+ You can now directly use a secret of type `kubernetes.io/tls` for your `certificatesSecret` instead of manually packing your certificates
3
+ into an `Opaque` secret with `fullChainName` / `keyName` / `chainName` entries. This older packing method will become deprecated.
4
+ Please migrate to the Kubernetes TLS Secret format. See https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets for details.
5
+ {{- end }}
Original file line number Diff line number Diff line change @@ -156,16 +156,21 @@ spec:
156
156
- name : config-certificates
157
157
secret :
158
158
secretName : {{ $.Values.certificatesSecret.secretName }}
159
- {{- if (and $.Values.certificatesSecret.fullChainName $.Values.certificatesSecret.chainName $.Values.certificatesSecret.keyName) }}
160
159
items :
160
+ {{- if (and $.Values.certificatesSecret.fullChainName $.Values.certificatesSecret.chainName $.Values.certificatesSecret.keyName) }}
161
161
- key : {{ $.Values.certificatesSecret.fullChainName }}
162
162
path : fullchain.pem
163
163
- key : {{ $.Values.certificatesSecret.chainName }}
164
164
path : chain.pem
165
165
- key : {{ $.Values.certificatesSecret.keyName }}
166
166
path : privkey.pem
167
+ {{- else }}
168
+ - key : tls.crt
169
+ path : fullchain.pem
170
+ - key : tls.key
171
+ path : privkey.pem
167
172
{{- end }}
168
173
{{- end }}
169
174
{{ include "gitpod.container.configmap.volumes" $this | indent 6 }}
170
175
{{ toYaml .Values.defaults | indent 6 }}
171
- {{ end }}
176
+ {{ end }}
You can’t perform that action at this time.
0 commit comments