Commit 497b4472 authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app Chart supports an Ingress default backend.

parent c7b12f26
......@@ -21,6 +21,12 @@ spec:
- secretName: {{ $secret.name }}
{{- end }}
{{- end }}
{{- if .Values.defaultApp }}
backend:
serviceName: {{ .Values.defaultApp.app }}-svc
servicePort: {{ default "80" .Values.defaultApp.servicePort }}
{{- end }}
{{- if .Values.ingress.rules }}
rules:
{{- range $rule := .Values.ingress.rules }}
- host: {{ $rule.host }}
......@@ -33,3 +39,4 @@ spec:
servicePort: {{ default "80" $path.servicePort }}
{{- end }}
{{- end }}
{{- end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment