From 6bf549b80cf316aad7a12bba1fa0bdc2b2c8432a Mon Sep 17 00:00:00 2001 From: ci-bot Date: Tue, 28 May 2024 14:47:08 +0800 Subject: [PATCH] update ks-core helm chart --- src/test/ks-core/templates/kubesphere-config.yaml | 7 +++++++ src/test/ks-core/values.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/test/ks-core/templates/kubesphere-config.yaml b/src/test/ks-core/templates/kubesphere-config.yaml index 8053feff..3a82d63f 100644 --- a/src/test/ks-core/templates/kubesphere-config.yaml +++ b/src/test/ks-core/templates/kubesphere-config.yaml @@ -47,6 +47,13 @@ data: {{- if .Values.extension.nodeSelector }} nodeSelector: {{- toYaml .Values.extension.nodeSelector | nindent 8 }} {{- end }} + {{- if and .Values.extension.ingress .Values.extension.ingress.domainSuffix }} + ingress: + ingressClassName: {{ .Values.extension.ingress.ingressClassName }} + domainSuffix: {{ .Values.extension.ingress.domainSuffix }} + httpPort: {{ .Values.extension.ingress.httpPort }} + httpsPort: {{ .Values.extension.ingress.httpsPort }} + {{- end }} composedApp: appSelector: {{ .Values.composedApp.appSelector | quote }} kubesphere: diff --git a/src/test/ks-core/values.yaml b/src/test/ks-core/values.yaml index 235bc17f..0d83b0f5 100644 --- a/src/test/ks-core/values.yaml +++ b/src/test/ks-core/values.yaml @@ -308,6 +308,13 @@ cloud: extension: imageRegistry: "" nodeSelector: {} + ingress: + ingressClassName: "" + # The domain name suffix used to create the ingress of each extension. + # Depending on your ingress address, it can be an LB hostname address (xx.com), {node_ip}.nip.io or an internal DNS address (kse.local). + domainSuffix: "" + httpPort: 80 + httpsPort: 443 hook: resources: