Skip to content

Commit

Permalink
Merge pull request #147 from fhswf:new-deployment
Browse files Browse the repository at this point in the history
fix: multi-release
  • Loading branch information
cgawron authored Jun 19, 2024
2 parents 57da232 + 98cf08b commit 1877fb3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
39 changes: 39 additions & 0 deletions client/k8s/frontend-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: client
namespace: bookme
spec:
containers:
- env:
- name: CLIENT_ID
valueFrom:
secretKeyRef:
key: CLIENT_ID
name: bookme-secret
- name: API_URL
valueFrom:
configMapKeyRef:
key: API_URL
name: bookme
- name: CLIENT_URL
valueFrom:
configMapKeyRef:
key: CLIENT_URL
name: bookme
- name: MONGO_URI
valueFrom:
configMapKeyRef:
key: MONGO_URI
name: bookme
- name: TZ
valueFrom:
configMapKeyRef:
key: TZ
name: bookme
image: ghcr.io/fhswf/book_me/frontend:latest
name: client
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"@semantic-release/exec",
{
"execCwd": ".",
"generateNotesCmd": "yarn exec node ../utility/patch-k8s.js ../k8s/frontend-deployment.yaml"
"generateNotesCmd": "yarn exec node ../utility/patch-k8s.js k8s/frontend-deployment.yaml"
}
],
[
Expand All @@ -119,7 +119,7 @@
"assets": [
"package.json",
"CHANGELOG.md",
"../k8s/frontend-deployment.yaml"
"k8s/frontend-deployment.yaml"
]
}
],
Expand Down

0 comments on commit 1877fb3

Please sign in to comment.