diff --git a/charts/kubezero-istio-gateway/README.md b/charts/kubezero-istio-gateway/README.md index d35d3eb1..b76f2f0f 100644 --- a/charts/kubezero-istio-gateway/README.md +++ b/charts/kubezero-istio-gateway/README.md @@ -27,8 +27,7 @@ Kubernetes: `>= 1.20.0` | Key | Type | Default | Description | |-----|------|---------|-------------| -| certificates[0].dnsNames | list | `[]` | | -| certificates[0].name | string | `"ingress-cert"` | | +| certificates | list | `[]` | | | gateway.autoscaling.enabled | bool | `false` | | | gateway.autoscaling.maxReplicas | int | `4` | | | gateway.autoscaling.minReplicas | int | `1` | | diff --git a/charts/kubezero-istio-gateway/templates/ingress-gateway.yaml b/charts/kubezero-istio-gateway/templates/ingress-gateway.yaml index d2929b56..1070db55 100644 --- a/charts/kubezero-istio-gateway/templates/ingress-gateway.yaml +++ b/charts/kubezero-istio-gateway/templates/ingress-gateway.yaml @@ -11,5 +11,5 @@ spec: selector: {{- include "gatewaySelectorLabels" . | nindent 4 }} servers: - {{- include "gatewayServers" (dict "certificates" .Values.certificates "ports" .Values.gateway.service.ports ) | nindent 2}} + {{- include "gatewayServers" (dict "certificates" .Values.certificates "ports" .Values.gateway.service.ports ) | nindent 2 }} {{- end }} diff --git a/charts/kubezero-istio-gateway/values.yaml b/charts/kubezero-istio-gateway/values.yaml index bee461f9..f99abba3 100644 --- a/charts/kubezero-istio-gateway/values.yaml +++ b/charts/kubezero-istio-gateway/values.yaml @@ -28,10 +28,9 @@ gateway: podAnnotations: proxy.istio.io/config: '{ "terminationDrainDuration": "20s" }' -certificates: -- name: ingress-cert - dnsNames: [] -# - '*.example.com' +certificates: [] +#- name: ingress-cert +# dnsNames: [] telemetry: enabled: falser