github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/kiali/templates/ingress.yaml (about) 1 {{- if .Values.ingress.enabled -}} 2 apiVersion: extensions/v1beta1 3 kind: Ingress 4 metadata: 5 name: kiali 6 namespace: {{ .Release.Namespace }} 7 labels: 8 app: kiali 9 annotations: 10 {{- range $key, $value := .Values.ingress.annotations }} 11 {{ $key }}: {{ $value | quote }} 12 {{- end }} 13 spec: 14 rules: 15 {{- range $host := .Values.ingress.hosts }} 16 - host: {{ $host }} 17 http: 18 paths: 19 - path: / 20 backend: 21 serviceName: kiali 22 servicePort: 20001 23 {{- end -}} 24 {{- if .Values.ingress.tls }} 25 tls: 26 {{ toYaml .Values.ingress.tls | indent 4 }} 27 {{- end -}} 28 {{- end -}}