Skip to content

Commit

Permalink
add feature toggle for shipping fee
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuridech committed Mar 24, 2024
1 parent f8e4861 commit 95ca857
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
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"

5 changes: 5 additions & 0 deletions infra/gitops/dev/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
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-2"
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 95ca857

Please sign in to comment.