diff --git a/charts/kubezero-istio/Chart.yaml b/charts/kubezero-istio/Chart.yaml index 7109ce7c..df7d0d87 100644 --- a/charts/kubezero-istio/Chart.yaml +++ b/charts/kubezero-istio/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezero-istio description: KubeZero Umbrella Chart for Istio type: application -version: 0.1.4 +version: 0.2.0 appVersion: 1.6.5 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png diff --git a/charts/kubezero-istio/templates/istio-private-ingress.yaml b/charts/kubezero-istio/templates/istio-private-ingress.yaml index 977853ed..c3636d13 100644 --- a/charts/kubezero-istio/templates/istio-private-ingress.yaml +++ b/charts/kubezero-istio/templates/istio-private-ingress.yaml @@ -1,3 +1,4 @@ +{{- if .Values.ingress.private }} apiVersion: install.istio.io/v1alpha1 kind: IstioOperator metadata: @@ -99,3 +100,4 @@ spec: global: jwtPolicy: first-party-jwt +{{- end }} diff --git a/charts/kubezero-istio/values.yaml b/charts/kubezero-istio/values.yaml index 002b2605..ca353d7b 100644 --- a/charts/kubezero-istio/values.yaml +++ b/charts/kubezero-istio/values.yaml @@ -6,6 +6,7 @@ ingress: autoscaleEnabled: false replicaCount: 2 type: NodePort + private: true #dnsNames: #- "*.example.com" diff --git a/deploy/templates/values.yaml b/deploy/templates/values.yaml index 88a8000d..42439c54 100644 --- a/deploy/templates/values.yaml +++ b/deploy/templates/values.yaml @@ -71,6 +71,7 @@ kubezero: istiod: replicaCount: {{ ternary 2 1 .Values.HighAvailableControlplane }} ingress: + private: {{ default true .Vauues.istio.ingress.private }} type: {{ default "NodePort" .Values.istio.ingress.type }} dnsNames: {{- with .Values.istio.ingress.dnsNames }}