Skip to content

Commit 563bf2a

Browse files
committed
set enviornment variables in kubernetes
1 parent 61f1806 commit 563bf2a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to GCP
33
on:
44
push:
55
branches:
6-
- main
6+
- feat/35-continuous-deployment
77

88
jobs:
99
deploy:

k8s/peerprep-fe.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
# imagePullPolicy: Never # only used for local builds
2424
ports:
2525
- containerPort: 3000
26+
envFrom:
27+
- secretRef:
28+
name: peerprep-config
29+
dnsPolicy: ClusterFirst
2630
---
2731
apiVersion: v1
2832
kind: Service

0 commit comments

Comments
 (0)