From 00361f98746789d963365159d07665e40fa9767e Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 17 Feb 2021 21:56:55 +0000 Subject: [PATCH] updated k8s manifests for LCM, MON, NBI and POL to target mongodb-k8s Change-Id: Iba651b83686c973308b68fd9d71051545e6dbeb0 Signed-off-by: garciadeblas --- installers/docker/osm_pods/lcm.yaml | 4 ++-- installers/docker/osm_pods/mon.yaml | 2 +- installers/docker/osm_pods/nbi.yaml | 2 +- installers/docker/osm_pods/pol.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/installers/docker/osm_pods/lcm.yaml b/installers/docker/osm_pods/lcm.yaml index 6858f2a8..6824f63d 100644 --- a/installers/docker/osm_pods/lcm.yaml +++ b/installers/docker/osm_pods/lcm.yaml @@ -33,7 +33,7 @@ spec: initContainers: - name: kafka-ro-mongo-test image: alpine:latest - command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 ro 9090 && nc -zvw1 mongo 27017 ); do sleep 3; done; exit 0"] + command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 ro 9090 && nc -zvw1 mongodb-k8s 27017 ); do sleep 3; done; exit 0"] containers: - name: lcm image: opensourcemano/lcm:8 @@ -41,7 +41,7 @@ spec: - name: OSMLCM_RO_HOST value: ro - name: OSMLCM_DATABASE_HOST - value: mongo + value: mongodb-k8s - name: OSMLCM_MESSAGE_HOST value: kafka envFrom: diff --git a/installers/docker/osm_pods/mon.yaml b/installers/docker/osm_pods/mon.yaml index 988054f3..31808aaa 100644 --- a/installers/docker/osm_pods/mon.yaml +++ b/installers/docker/osm_pods/mon.yaml @@ -47,7 +47,7 @@ spec: initContainers: - name: kafka-mongo-test image: alpine:latest - command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"] + command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"] containers: - name: mon image: opensourcemano/mon:8 diff --git a/installers/docker/osm_pods/nbi.yaml b/installers/docker/osm_pods/nbi.yaml index ea6014ec..9e78b13b 100644 --- a/installers/docker/osm_pods/nbi.yaml +++ b/installers/docker/osm_pods/nbi.yaml @@ -47,7 +47,7 @@ spec: initContainers: - name: kafka-mongo-test image: alpine:latest - command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"] + command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"] containers: - name: nbi image: opensourcemano/nbi:8 diff --git a/installers/docker/osm_pods/pol.yaml b/installers/docker/osm_pods/pol.yaml index 438ae1ff..8ad3c8be 100644 --- a/installers/docker/osm_pods/pol.yaml +++ b/installers/docker/osm_pods/pol.yaml @@ -33,7 +33,7 @@ spec: initContainers: - name: kafka-mongo-test image: alpine:latest - command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"] + command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"] containers: - name: pol image: opensourcemano/pol:8 -- 2.25.1