From: garciadeblas Date: Wed, 17 Feb 2021 21:56:55 +0000 (+0000) Subject: updated k8s manifests for LCM, MON, NBI and POL to target mongodb-k8s X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F10336%2F2;p=osm%2Fdevops.git updated k8s manifests for LCM, MON, NBI and POL to target mongodb-k8s Change-Id: Iba651b83686c973308b68fd9d71051545e6dbeb0 Signed-off-by: garciadeblas --- 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