Commit a4b1a96f authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app supports IngressClass.

parent 0ad1cdd4
......@@ -7,7 +7,6 @@ metadata:
app.kubernetes.io/component: ingress
{{- include "viking-ingress.labels" . | nindent 4 }}
annotations:
kubernetes.io/ingress.class: {{ .Values.ingress.class }}
{{- if .Values.vikingAdmSvc }}
ingress.varnish-cache.org/varnish-svc: {{ .Values.vikingAdmSvc }}
{{- end }}
......@@ -15,6 +14,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.class }}
{{- if hasKey .Values.ingress "tlsSecrets" }}
tls:
{{- range $secret := .Values.ingress.tlsSecrets }}
......
......@@ -22,8 +22,9 @@ apps: {}
# externalName: ""
ingress:
# Must match the Ingress class observed by the controller.
class: "varnish"
# Must match the name of an IngressClass whose spec.controller
# field matches the value that is required by the controller.
class: "viking-controller.uplex.de"
name: viking-ingress
......
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