Skip to content

Commit 58bba23

Browse files
Fixed bug so the OrderingBackgroundTasks container is in HealthChecks
1 parent 2d2323b commit 58bba23

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

k8s/deployments.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,11 @@ spec:
702702
configMapKeyRef:
703703
name: internalurls
704704
key: ordering__hc
705+
- name: OrderingBackgroundTasksUrl
706+
valueFrom:
707+
configMapKeyRef:
708+
name: internalurls
709+
key: ordering-background__hc
705710
- name: LocationsUrl
706711
valueFrom:
707712
configMapKeyRef:

k8s/internalurls.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ data:
1414
identity__hc: http://identity/hc
1515
ordering: http://ordering
1616
ordering__hc: http://ordering/hc
17+
ordering-background: http://ordering-background
18+
ordering-background__hc: http://ordering-background/hc
1719
marketing: http://marketing
1820
marketing__hc: http://marketing/hc
1921
locations: http://locations

k8s/services.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ kind: Service
5959
metadata:
6060
labels:
6161
app: eshop
62-
component: ordering-background
62+
component: ordering-backgroundtasks
6363
name: ordering-background
6464
spec:
6565
ports:
6666
- port: 80
6767
selector:
6868
app: eshop
69-
component: ordering-background
69+
component: ordering-backgroundtasks
7070
---
7171
apiVersion: v1
7272
kind: Service

0 commit comments

Comments
 (0)