File tree Expand file tree Collapse file tree 8 files changed +16
-21
lines changed Expand file tree Collapse file tree 8 files changed +16
-21
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
44 context : ..
55 dockerfile : .devcontainer/Dockerfile
66 hostname : dev-team
7- container_name : dev-team-sp25
7+ container_name : classroom-lm
88 volumes :
99 - ..:/app
1010 command : sleep infinity
Original file line number Diff line number Diff line change 2222 name : cd-pipeline
2323 params :
2424 - name : APP_NAME
25- value : dev-team-sp25
25+ value : classroom-lm
2626 - name : GIT_REPO
2727 value : $(tt.params.git-repo-url)
2828 - name : IMAGE_NAME
Original file line number Diff line number Diff line change 1717 - name : APP_NAME
1818 description : Name of the application
1919 type : string
20- default : dev-team-sp25
20+ default : classroom-lm
2121 - name : IMAGE_NAME
2222 description : The name of the image to build
2323 type : string
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: ConfigMap
33metadata :
44 name : next-config
55data :
6- .env : # |
6+ .env : !!! #|
77 # NEXT_PUBLIC_SUPABASE_URL=<SUBSTITUTE -> SUPABASE_URL>
88 # NEXT_PUBLIC_SUPABASE_ANON_KEY=<SUBSTITUTE ->SUPABASE_ANON_KEY>
99 # NEXT_PUBLIC_SITE_URL=<SUBSTITUTE -> SITE_URL>
Original file line number Diff line number Diff line change 11apiVersion : apps/v1
22kind : Deployment
33metadata :
4- name : dev-team-sp25
4+ name : classroom-lm
55 labels :
6- app : dev-team-sp25
6+ app : classroom-lm
77spec :
88 replicas : 1
99 revisionHistoryLimit : 2
@@ -13,28 +13,23 @@ spec:
1313 maxUnavailable : 50%
1414 selector :
1515 matchLabels :
16- app : dev-team-sp25
16+ app : classroom-lm
1717 template :
1818 metadata :
1919 labels :
20- app : dev-team-sp25
20+ app : classroom-lm
2121 spec :
2222 restartPolicy : Always
2323 containers :
24- - name : dev-team-sp25
25- image : dev.techatnyu.org:5000/dev-team-sp25:1.0
24+ - name : classroom-lm
25+ image : !!!<insert registry url, eg localhost>:<insert registry port>/classroom-lm/classroom-lm-app:latest
2626 imagePullPolicy : Always
2727 ports :
2828 - containerPort : 8080
2929 protocol : TCP
3030 envFrom :
3131 - secretRef :
3232 name : next-secret
33- # - name: DATABASE_URI
34- # valueFrom:
35- # secretKeyRef:
36- # name: postgres-creds
37- # key: database_uri
3833 readinessProbe :
3934 httpGet :
4035 path : /api/health
Original file line number Diff line number Diff line change 22apiVersion : networking.k8s.io/v1
33kind : Ingress
44metadata :
5- name : dev-team-sp25
5+ name : classroom-lm
66 annotations :
77 nginx.ingress.kubernetes.io/rewrite-target : /$2
88spec :
1313 pathType : Prefix
1414 backend :
1515 service :
16- name : dev-team-sp25
16+ name : classroom-lm
1717 port :
1818 number : 8080
1919 - path : /webhook
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ kind: Secret
33metadata :
44 name : next-secret
55stringData :
6- SUPABASE_SERVICE_ROLE_KEY : <SUBSTITUTE -> SUPABASE ROLE KEY>
6+ SUPABASE_SERVICE_ROLE_KEY : !!! <SUBSTITUTE -> SUPABASE ROLE KEY>
77immutable : true
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Service
33metadata :
4- name : dev-team-sp25
4+ name : classroom-lm
55 labels :
6- app : dev-team-sp25
6+ app : classroom-lm
77spec :
88 selector :
9- app : dev-team-sp25
9+ app : classroom-lm
1010 type : ClusterIP
1111 internalTrafficPolicy : Cluster
1212 ports :
You can’t perform that action at this time.
0 commit comments