Make private Ingress optional but enabled by default
This commit is contained in:
parent
40164dd02b
commit
0906fed564
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-istio
|
name: kubezero-istio
|
||||||
description: KubeZero Umbrella Chart for Istio
|
description: KubeZero Umbrella Chart for Istio
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.4
|
version: 0.2.0
|
||||||
appVersion: 1.6.5
|
appVersion: 1.6.5
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{- if .Values.ingress.private }}
|
||||||
apiVersion: install.istio.io/v1alpha1
|
apiVersion: install.istio.io/v1alpha1
|
||||||
kind: IstioOperator
|
kind: IstioOperator
|
||||||
metadata:
|
metadata:
|
||||||
@ -99,3 +100,4 @@ spec:
|
|||||||
|
|
||||||
global:
|
global:
|
||||||
jwtPolicy: first-party-jwt
|
jwtPolicy: first-party-jwt
|
||||||
|
{{- end }}
|
||||||
|
@ -6,6 +6,7 @@ ingress:
|
|||||||
autoscaleEnabled: false
|
autoscaleEnabled: false
|
||||||
replicaCount: 2
|
replicaCount: 2
|
||||||
type: NodePort
|
type: NodePort
|
||||||
|
private: true
|
||||||
#dnsNames:
|
#dnsNames:
|
||||||
#- "*.example.com"
|
#- "*.example.com"
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ kubezero:
|
|||||||
istiod:
|
istiod:
|
||||||
replicaCount: {{ ternary 2 1 .Values.HighAvailableControlplane }}
|
replicaCount: {{ ternary 2 1 .Values.HighAvailableControlplane }}
|
||||||
ingress:
|
ingress:
|
||||||
|
private: {{ default true .Vauues.istio.ingress.private }}
|
||||||
type: {{ default "NodePort" .Values.istio.ingress.type }}
|
type: {{ default "NodePort" .Values.istio.ingress.type }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
{{- with .Values.istio.ingress.dnsNames }}
|
{{- with .Values.istio.ingress.dnsNames }}
|
||||||
|
Loading…
Reference in New Issue
Block a user