|
@ -4,7 +4,7 @@ |
|
|
{{- 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/v1 |
|
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} |
|
|
apiVersion: networking.k8s.io/v1 |
|
|
apiVersion: networking.k8s.io/v1beta1 |
|
|
{{- else -}} |
|
|
{{- else -}} |
|
|
apiVersion: extensions/v1beta1 |
|
|
apiVersion: extensions/v1beta1 |
|
|
{{- end }} |
|
|
{{- end }} |
|
|