Skip to content

Commit

Permalink
Add team ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Jul 17, 2023
1 parent 31a0e2c commit 8b80af5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion kubernetes/templates/runtime/teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,21 @@ spec:
configMapKeyRef:
name: teamvm-config
key: daemon_port

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: team-ingress
spec:
ingressClassName: nginx
rules:
- host: "*.team0.{{.Domain}}" # Make this dynamic
http:
paths:
- pathType: Prefix
backend:
service:
name: default-backend # This service does not exist intentionally and gives a 404
port:
number: 80
path: /

0 comments on commit 8b80af5

Please sign in to comment.