Fix bug 1559 to update installers and manifests for Release TEN
[osm/devops.git] / installers / docker / osm_pods / ro.yaml
index f98f69b..f484a07 100644 (file)
@@ -47,23 +47,19 @@ spec:
       initContainers:
       - name: ro-db-test
         image: alpine:latest
-        command: ["sh", "-c", "until nc -zvw1 mysql 3306; 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: ro
-        image: opensourcemano/ro:7
+        image: opensourcemano/ro:10
         ports:
         - containerPort: 9090
           protocol: TCP
         env:
-         - name: RO_DB_HOST
-           value: mysql
+        - name: OSMRO_DATABASE_URI
+          value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
+        - name: OSMRO_MESSAGE_HOST
+          value: kafka
         envFrom:
         - secretRef:
            name: ro-secret
-        volumeMounts:
-         - name: ro
-           mountPath: /var/log/osm
-      volumes:
-      - name: ro
-        hostPath:
-         path: /var/lib/osm/osm_ro/_data
+