We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab236a9 + 35366ea commit de1d0cfCopy full SHA for de1d0cf
helm-chart/binderhub/templates/ingress.yaml
@@ -1,8 +1,9 @@
1
{{- if .Values.ingress.enabled -}}
2
-# FIXME: Update before k8s 1.20 but after we no longer require support for k8s
3
-# 1.14. networking.k8s.io/v1beta1 was introduced in k8s 1.14 to replace
4
-# extensions/v1beta1 that goes away in k8s 1.20.
+{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
+apiVersion: networking.k8s.io/v1beta1
+{{- else }}
5
apiVersion: extensions/v1beta1
6
+{{- end }}
7
kind: Ingress
8
metadata:
9
name: binderhub
0 commit comments