Skip to content

Commit

Permalink
🎉 Add OHQ wsgi + asgi ingresses
Browse files Browse the repository at this point in the history
  • Loading branch information
joyliu-q committed Feb 7, 2023
1 parent 2a96bbe commit 0415c03
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions terraform/helm/office-hours-queue-django-asgi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
annotations:
name: office-hours-queue-django-asgi
namespace: default
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`ohq.io`) && PathPrefix(`/`)
services:
- kind: Service
name: office-hours-queue-django-asgi
namespace: default
passHostHeader: true
port: 80
tls:
secretName: ohq-io-tls
20 changes: 20 additions & 0 deletions terraform/helm/office-hours-queue-django-wsgi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
annotations:
name: office-hours-queue-django-wsgi
namespace: default
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`ohq.io`) && PathPrefix(`/`)
services:
- kind: Service
name: office-hours-queue-django-wsgi
namespace: default
passHostHeader: true
port: 80
tls:
secretName: ohq-io-tls

0 comments on commit 0415c03

Please sign in to comment.