Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
leenawat committed Mar 24, 2024
2 parents fc6a658 + c36a283 commit 90755c3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions infra/gitops/dev/configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ data:
db.username: "postgres"
db.password: "YGSQOnBlYd+6"
enabled.feature.promotion.list.api: "true"
enabled.shipping.fee: "true"

7 changes: 6 additions & 1 deletion infra/gitops/dev/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: kbazaar-api
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-4:9e1e291a5bdce40e00cfd967bb1061611a5496a3
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-4:2813dfdc69068a041c985c2d480b4217196acfe4
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand All @@ -40,6 +40,11 @@ spec:
configMapKeyRef:
name: app-config
key: enabled.feature.promotion.list.api
- name: ENABLE_SHIPPING_FEE
valueFrom:
configMapKeyRef:
name: app-config
key: enabled.shipping.fee
resources:
limits:
cpu: "1"
Expand Down
3 changes: 2 additions & 1 deletion infra/gitops/prod/configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ data:
db.url: "jdbc:postgresql://ec2-13-250-18-96.ap-southeast-1.compute.amazonaws.com/prod-group-4"
db.username: "postgres"
db.password: "YGSQOnBlYd+6"
enabled.feature.promotion.list.api: "true"
enabled.feature.promotion.list.api: "true"
enabled.shipping.fee: "true"
5 changes: 5 additions & 0 deletions infra/gitops/prod/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ spec:
configMapKeyRef:
name: app-config
key: enabled.feature.promotion.list.api
- name: ENABLE_SHIPPING_FEE
valueFrom:
configMapKeyRef:
name: app-config
key: enabled.shipping.fee
resources:
limits:
cpu: "1"
Expand Down

0 comments on commit 90755c3

Please sign in to comment.