From 58bba231d0490fdf3e09a2ef2822a2ea8cf37c27 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Llorente Date: Fri, 18 May 2018 15:27:37 -0700 Subject: [PATCH] Fixed bug so the OrderingBackgroundTasks container is in HealthChecks --- k8s/deployments.yaml | 5 +++++ k8s/internalurls.yaml | 2 ++ k8s/services.yaml | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/k8s/deployments.yaml b/k8s/deployments.yaml index ca97df9eb..f362c319c 100644 --- a/k8s/deployments.yaml +++ b/k8s/deployments.yaml @@ -702,6 +702,11 @@ spec: configMapKeyRef: name: internalurls key: ordering__hc + - name: OrderingBackgroundTasksUrl + valueFrom: + configMapKeyRef: + name: internalurls + key: ordering-background__hc - name: LocationsUrl valueFrom: configMapKeyRef: diff --git a/k8s/internalurls.yaml b/k8s/internalurls.yaml index e42ef23ec..df317b5d5 100644 --- a/k8s/internalurls.yaml +++ b/k8s/internalurls.yaml @@ -14,6 +14,8 @@ data: identity__hc: http://identity/hc ordering: http://ordering ordering__hc: http://ordering/hc + ordering-background: http://ordering-background + ordering-background__hc: http://ordering-background/hc marketing: http://marketing marketing__hc: http://marketing/hc locations: http://locations diff --git a/k8s/services.yaml b/k8s/services.yaml index 035f1c798..ad537eaf0 100644 --- a/k8s/services.yaml +++ b/k8s/services.yaml @@ -59,14 +59,14 @@ kind: Service metadata: labels: app: eshop - component: ordering-background + component: ordering-backgroundtasks name: ordering-background spec: ports: - port: 80 selector: app: eshop - component: ordering-background + component: ordering-backgroundtasks --- apiVersion: v1 kind: Service