make nodeselector for private ingress configurable
This commit is contained in:
parent
5d9f2a5226
commit
665fc68f7e
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: kubezero-istio
|
||||
description: KubeZero Umbrella Chart for Istio
|
||||
type: application
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
appVersion: 1.6.7
|
||||
home: https://kubezero.com
|
||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||
|
@ -1,4 +1,4 @@
|
||||
{{- if .Values.ingress.private }}
|
||||
{{- if .Values.ingress.private.enabled }}
|
||||
apiVersion: install.istio.io/v1alpha1
|
||||
kind: IstioOperator
|
||||
metadata:
|
||||
@ -36,7 +36,7 @@ spec:
|
||||
value: standard
|
||||
{{- if eq .Values.ingress.type "NodePort" }}
|
||||
nodeSelector:
|
||||
node.kubernetes.io/ingress.private: "31080_31443_30671_30672_31224"
|
||||
node.kubernetes.io/ingress.private: {{ .Values.ingress.private.nodeSelector }}
|
||||
{{- end }}
|
||||
resources:
|
||||
limits:
|
||||
|
@ -6,7 +6,9 @@ ingress:
|
||||
autoscaleEnabled: false
|
||||
replicaCount: 2
|
||||
type: NodePort
|
||||
private: true
|
||||
private:
|
||||
enabled: true
|
||||
nodeSelector: "31080_31443_30671_30672_31224"
|
||||
#dnsNames:
|
||||
#- "*.example.com"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user