[bitnami/apisix] Unable to disable tls on control-plane #24594
Labels
apisix
solved
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/apisix 3.0.0
What architecture are you using?
amd64
What steps will reproduce the bug?
controlPlane.tls.enabled=false
Are you using any custom parameters or values?
-- set controlPlane.tls.enabled=false
What is the expected behavior?
If we disable the tls on the controlPlane, the Secret apisix-control-plane-tls isn't generated
What do you see instead?
The Secret apisix-control-plane-tls is generated. If additionally the parameters
controlPlane.tls.autoGenerated
is set to false, the secret is generated without dataAdditional information
Reviewing the template tls-secret.yaml file, exists a difference between the configuration for the data-plane and the control-plane.
The following if sentence miss the check
.Values.controlPlane.tls.enabled
.The current if:
{{- if and .Values.controlPlane.enabled (not .Values.controlPlane.tls.existingSecret) }}
The expected if:
{{- if and .Values.controlPlane.enabled .Values.controlPlane.tls.enabled (not .Values.controlPlane.tls.existingSecret) }}
The text was updated successfully, but these errors were encountered: