Skip to content

Commit

Permalink
Merge pull request #2481 from DFE-Digital/preproduction
Browse files Browse the repository at this point in the history
Preproduction Maintenance Page
  • Loading branch information
neillturner authored Nov 1, 2024
2 parents fe86314 + dc41068 commit a5ee41c
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 a5ee41c

Please sign in to comment.