Skip to content

Commit 6a3ccae

Browse files
authored
fix(base-cluster/certificates): certificate for baseDomain is not used (#1644)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated certificate configuration to include only the wildcard DNS name. * Certificate activation now requires both a base domain and a DNS provider to be set. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7d313f2 commit 6a3ccae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

charts/base-cluster/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,9 @@ global:
5757
certificates:
5858
cluster-wildcard:
5959
dnsNames: |-
60-
- {{ include "base-cluster.domain" $ | quote }}
61-
{{- if .Values.dns.provider }}
6260
- {{ printf "*.%s" (include "base-cluster.domain" $) | quote }}
63-
{{- end }}
6461
targetNamespaces: ALL
65-
condition: "{{ not (empty .Values.global.baseDomain) }}"
62+
condition: "{{ and (not (empty .Values.global.baseDomain)) .Values.dns.provider }}"
6663
storageClass: ""
6764
kubectl:
6865
image:

0 commit comments

Comments
 (0)