|
@ -2,7 +2,7 @@ |
|
|
{{- $fullName := include "sigi.fullname" . -}} |
|
|
{{- $fullName := include "sigi.fullname" . -}} |
|
|
{{- $hostName := .Values.sigi.hostname -}} |
|
|
{{- $hostName := .Values.sigi.hostname -}} |
|
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
apiVersion: networking.k8s.io/v1 |
|
|
apiVersion: networking.k8s.io/v1beta1 |
|
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
apiVersion: networking.k8s.io/v1beta1 |
|
|
apiVersion: networking.k8s.io/v1beta1 |
|
|
{{- else -}} |
|
|
{{- else -}} |
|
|