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 df3d5ad commit b338092
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 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,3 +8,4 @@ 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
1 change: 1 addition & 0 deletions infra/gitops/prod/configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ 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/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 b338092

Please sign in to comment.