diff --git a/deploy/kubernetes/helm/che/templates/deployment.yaml b/deploy/kubernetes/helm/che/templates/deployment.yaml index c5d89b99c16..17ca983f096 100644 --- a/deploy/kubernetes/helm/che/templates/deployment.yaml +++ b/deploy/kubernetes/helm/che/templates/deployment.yaml @@ -100,7 +100,7 @@ spec: valueFrom: secretKeyRef: key: ca.crt - name: {{ .Values.global.tls.secretName }} + name: {{ .Values.global.tls.selfSignedCertSecretName }} optional: false {{- end }} diff --git a/deploy/kubernetes/helm/che/values.yaml b/deploy/kubernetes/helm/che/values.yaml index 4eefae4cc24..0b59b4daa46 100644 --- a/deploy/kubernetes/helm/che/values.yaml +++ b/deploy/kubernetes/helm/che/values.yaml @@ -46,8 +46,9 @@ global: secretName: che-tls ## If self-signed certificate flag is enabled - ## then CA certificate from `tls.secretName` will be propagated to Che components' trust stores - useSelfSignedCerts: false + ## then CA certificate from `tls.selfSignedCertSecretName` will be propagated to Che components' trust stores + useSelfSignedCerts: true + selfSignedCertSecretName: self-signed-certificate ## Name of the config-map with public certificates to add to Java trust store of the Che server. serverTrustStoreConfigMapName: ""