Skip to content

Commit

Permalink
Merge branch '1-fix-network' into 'gesis'
Browse files Browse the repository at this point in the history
Improve Kubernetes Network

See merge request methods-hub/interactive-environment!6
  • Loading branch information
rgaiacs committed Sep 6, 2024
2 parents 511bf6e + d05e4b2 commit 1fd8a9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions config/gesis-stage.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
url: https://notebooks-test.gesis.org/binder/

binderhub:
replicas: 1

ingress:
hosts:
- notebooks-test.gesis.org
Expand Down Expand Up @@ -77,6 +79,8 @@ ingress-nginx:
enabled: true
service:
type: ClusterIP
externalTrafficPolicy: Cluster


static:
ingress:
Expand Down
7 changes: 0 additions & 7 deletions mybinder/templates/ingress-nginx/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit 1fd8a9d

Please sign in to comment.