Skip to content

Commit

Permalink
maintenance page to preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill Turner committed Oct 31, 2024
1 parent acab73e commit 6f7c361
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
type: choice
options:
- test
- preproduction
- production
mode:
required: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: apply-for-qts-preproduction-web.test.teacherservices.cloud
spec:
ingressClassName: nginx
rules:
- host: apply-for-qts-preproduction-web.test.teacherservices.cloud
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: apply-for-qts-preproduction-web
port:
number: 80
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: apply-for-qts-preproduction-web.test.teacherservices.cloud
spec:
ingressClassName: nginx
rules:
- host: apply-for-qts-preproduction-web.test.teacherservices.cloud
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: apply-for-qts-maintenance
port:
number: 80
16 changes: 16 additions & 0 deletions maintenance_page/manifests/preproduction/ingress_maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: apply-for-qts-maintenance.test.teacherservices.cloud
spec:
ingressClassName: nginx
rules:
- host: apply-for-qts-maintenance.test.teacherservices.cloud
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: apply-for-qts-maintenance
port:
number: 80
16 changes: 16 additions & 0 deletions maintenance_page/manifests/preproduction/ingress_temp_to_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: apply-for-qts-temp.test.teacherservices.cloud
spec:
ingressClassName: nginx
rules:
- host: apply-for-qts-temp.test.teacherservices.cloud
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: apply-for-qts-preproduction-web
port:
number: 80

0 comments on commit 6f7c361

Please sign in to comment.