Browse Source

return v1beta1 apiversion +

master
Keny Villela 2 years ago
parent
commit
469f4673a8
  1. 2
      charts/sigi/v0.2.3/templates/ingress.yaml

2
charts/sigi/v0.2.3/templates/ingress.yaml

@ -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 -}}

Loading…
Cancel
Save