Browse Source

return v1beta1 apiversion -

master
Keny Villela 2 years ago
parent
commit
4a46a39aac
  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" . -}}
{{- $hostName := .Values.sigi.hostname -}}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}

Loading…
Cancel
Save