KubeZero/charts/kubezero/templates/istio-ingress.yaml

47 lines
1.1 KiB
YAML
Raw Normal View History

2020-11-26 13:21:10 +00:00
{{- define "istio-ingress-values" }}
{{- with index .Values "istio-ingress" "global" }}
global:
{{- toYaml . | nindent 2 }}
{{- end }}
2020-11-26 13:21:10 +00:00
{{- if index .Values "istio-ingress" "public" }}
istio-ingress:
enabled: {{ index .Values "istio-ingress" "public" "enabled" }}
telemetry:
enabled: {{ .Values.metrics.enabled }}
2020-11-26 13:21:10 +00:00
{{- with index .Values "istio-ingress" "public" "gateway" }}
gateways:
istio-ingressgateway:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with index .Values "istio-ingress" "public" "dnsNames" }}
dnsNames:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- if index .Values "istio-ingress" "private" }}
istio-private-ingress:
enabled: {{ index .Values "istio-ingress" "private" "enabled" }}
telemetry:
enabled: {{ .Values.metrics.enabled }}
2020-11-26 13:21:10 +00:00
{{- with index .Values "istio-ingress" "private" "gateway" }}
gateways:
istio-ingressgateway:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with index .Values "istio-ingress" "private" "dnsNames" }}
dnsNames:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
2020-11-24 14:44:57 +00:00
{{- end }}
2020-11-26 13:21:10 +00:00
{{- define "istio-ingress-argo" }}
{{- end }}
{{ include "kubezero-app.app" . }}