Make private Ingress optional but enabled by default

This commit is contained in:
Stefan Reimer 2020-07-23 15:01:34 +00:00
parent 474a0b6a96
commit d0b0829812
4 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 }}

View File

@ -6,6 +6,7 @@ ingress:
autoscaleEnabled: false
replicaCount: 2
type: NodePort
private: true
#dnsNames:
#- "*.example.com"

View File

@ -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 }}