make nodeselector for private ingress configurable

This commit is contained in:
Stefan Reimer 2020-08-10 13:20:36 +01:00
parent eb4b102291
commit e4193dca73
3 changed files with 6 additions and 4 deletions

View File

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

View File

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

View File

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