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: