EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 04ce7a66 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Small compatibility fix in ingress

parent d6a14d22
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
{{- $fullName := include "vs-renderer.fullname" . -}}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment