Browse Source

return v1beta1 apiversion

master
Keny Villela 2 years ago
parent
commit
b7fe3b2de5
  1. 2
      charts/sigi/v0.2.2/templates/ingress.yaml
  2. 2
      charts/sigi/v0.2.3/templates/ingress.yaml
  3. 2
      charts/sigi/v0.2.4/templates/ingress.yaml

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

@ -4,7 +4,7 @@
{{- 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/v1
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}

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

@ -4,7 +4,7 @@
{{- 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/v1
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}

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

@ -4,7 +4,7 @@
{{- 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/v1
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}

Loading…
Cancel
Save