Fixed bug so the OrderingBackgroundTasks container is in HealthChecks

This commit is contained in:
Cesar De la Torre Llorente 2018-05-18 15:27:37 -07:00
parent 2d2323b109
commit 58bba231d0
3 changed files with 9 additions and 2 deletions

View File

@ -702,6 +702,11 @@ spec:
configMapKeyRef: configMapKeyRef:
name: internalurls name: internalurls
key: ordering__hc key: ordering__hc
- name: OrderingBackgroundTasksUrl
valueFrom:
configMapKeyRef:
name: internalurls
key: ordering-background__hc
- name: LocationsUrl - name: LocationsUrl
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:

View File

@ -14,6 +14,8 @@ data:
identity__hc: http://identity/hc identity__hc: http://identity/hc
ordering: http://ordering ordering: http://ordering
ordering__hc: http://ordering/hc ordering__hc: http://ordering/hc
ordering-background: http://ordering-background
ordering-background__hc: http://ordering-background/hc
marketing: http://marketing marketing: http://marketing
marketing__hc: http://marketing/hc marketing__hc: http://marketing/hc
locations: http://locations locations: http://locations

View File

@ -59,14 +59,14 @@ kind: Service
metadata: metadata:
labels: labels:
app: eshop app: eshop
component: ordering-background component: ordering-backgroundtasks
name: ordering-background name: ordering-background
spec: spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: eshop app: eshop
component: ordering-background component: ordering-backgroundtasks
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service