diff --git a/config/gesis-stage.yaml b/config/gesis-stage.yaml index 695497131..3d84e69ca 100644 --- a/config/gesis-stage.yaml +++ b/config/gesis-stage.yaml @@ -1,6 +1,8 @@ url: https://notebooks-test.gesis.org/binder/ binderhub: + replicas: 1 + ingress: hosts: - notebooks-test.gesis.org @@ -77,6 +79,8 @@ ingress-nginx: enabled: true service: type: ClusterIP + externalTrafficPolicy: Cluster + static: ingress: diff --git a/mybinder/templates/ingress-nginx/ingress.yaml b/mybinder/templates/ingress-nginx/ingress.yaml index 67c691bcf..fbdac38e7 100644 --- a/mybinder/templates/ingress-nginx/ingress.yaml +++ b/mybinder/templates/ingress-nginx/ingress.yaml @@ -1,13 +1,6 @@ {{- $ingressType := index .Values "ingress-nginx" "controller" "service" "type" }} {{- if eq $ingressType "ClusterIP" }} apiVersion: networking.k8s.io/v1 -kind: IngressClass -metadata: - name: {{ .Release.Name }} -spec: - controller: k8s.io/ingress-nginx ---- -apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ .Release.Name }}