Browse Source

Fixed bug so the OrderingBackgroundTasks container is in HealthChecks

pull/616/merge
Cesar De la Torre Llorente 6 years ago
parent
commit
58bba231d0
3 changed files with 9 additions and 2 deletions
  1. +5
    -0
      k8s/deployments.yaml
  2. +2
    -0
      k8s/internalurls.yaml
  3. +2
    -2
      k8s/services.yaml

+ 5
- 0
k8s/deployments.yaml 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:


+ 2
- 0
k8s/internalurls.yaml 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


+ 2
- 2
k8s/services.yaml 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


Loading…
Cancel
Save