mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
[bitnami/apisix] Fix disable tls on controlPlane and dataPlane (#24600)
* Fix disable tls on controlPlane Signed-off-by: Jorge Navea <j.navea.llorente@gmail.com> * Fix certs volumeMount when dataPlane tls is disabled Signed-off-by: Jorge Navea <j.navea.llorente@gmail.com> --------- Signed-off-by: Jorge Navea <j.navea.llorente@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- $ca := genCA "apisix-ca" 365 }}
|
||||
{{- if and .Values.controlPlane.enabled (not .Values.controlPlane.tls.existingSecret) }}
|
||||
{{- if and .Values.controlPlane.enabled .Values.controlPlane.tls.enabled (not .Values.controlPlane.tls.existingSecret) }}
|
||||
{{/* For the control plane, it is mandatory to have TLS for the config server */}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
Reference in New Issue
Block a user