Merge "Add exception handling for api side with trace log and With internal error...
authorBin Yang <bin.yang@windriver.com>
Tue, 8 Nov 2022 00:19:00 +0000 (00:19 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Tue, 8 Nov 2022 00:19:00 +0000 (00:19 +0000)
README-o2imsbuilder.md
charts/templates/deployment.yaml
charts/values.yaml
docs/installation-guide.rst

index bd4cfba..70547c8 100644 (file)
@@ -68,10 +68,11 @@ imagePullSecrets:
 
 o2ims:
   serviceaccountname: admin-oran-o2
-  image:
-    img_o2: registry.local:9001/o-ran-sc/pti-o2imsdms:2.0.0
-    img_postgres: postgres:9.6
-    img_redis: redis:alpine
+  images:
+    tags:
+      o2service: registry.local:9001/o-ran-sc/pti-o2imsdms:2.0.0
+      postgres: docker.io/library/postgres:9.6
+      redis: docker.io/library/redis:alpine
     pullPolicy: IfNotPresent
   logginglevel: "DEBUG"
 
index 402fe02..98dc174 100644 (file)
@@ -43,7 +43,7 @@ spec:
 {{- end }}
       containers:
         - name: postgres
-          image: "{{ .Values.o2ims.image.img_postgres }}"
+          image: "{{ .Values.o2ims.images.tags.postgres }}"
           ports:
             - containerPort: 5432
           env:
@@ -60,11 +60,11 @@ spec:
             - name: db-pv
               mountPath: /var/lib/postgresql/data
         - name: redis
-          image: "{{ .Values.o2ims.image.img_redis }}"
+          image: "{{ .Values.o2ims.images.tags.redis }}"
           ports:
             - containerPort: 6379
         - name: o2pubsub
-          image: "{{ .Values.o2ims.image.img_o2 }}"
+          image: "{{ .Values.o2ims.images.tags.o2service }}"
           command: ["/bin/bash", "/opt/o2pubsub_start.sh"]
           env:
             - name: DB_HOST
@@ -96,7 +96,7 @@ spec:
               mountPath: /configs/smoca.crt
               subPath: config.json
         - name: watcher
-          image: "{{ .Values.o2ims.image.img_o2 }}"
+          image: "{{ .Values.o2ims.images.tags.o2service }}"
           command: ["/bin/bash", "/opt/o2watcher_start.sh"]
           env:
             - name: API_HOST_EXTERNAL_FLOATING
@@ -125,7 +125,7 @@ spec:
               subPath: config.json
               readOnly: true
         - name: o2api
-          image: "{{ .Values.o2ims.image.img_o2 }}"
+          image: "{{ .Values.o2ims.images.tags.o2service }}"
           ports:
             - containerPort: 80
           env:
@@ -172,7 +172,7 @@ spec:
               readOnly: true
         {{- if .Values.o2dms.helm_cli_enable }}
         - name: helmcli
-          image: "{{ .Values.o2ims.image.img_o2 }}"
+          image: "{{ .Values.o2ims.images.tags.o2service }}"
           ports:
             - containerPort: 22
           env:
index 01b7f4a..aa6a487 100644 (file)
@@ -49,10 +49,11 @@ imagePullSecrets:
 
 o2ims:
   serviceaccountname: admin-oran-o2
-  image:
-    img_o2: nexus3.o-ran-sc.org:10004/o-ran-sc/pti-o2imsdms:2.0.0
-    img_postgres: postgres:9.6
-    img_redis: redis:alpine
+  images:
+    tags:
+      o2service: nexus3.o-ran-sc.org:10004/o-ran-sc/pti-o2imsdms:2.0.0
+      postgres: docker.io/library/postgres:9.6
+      redis: docker.io/library/redis:alpine
     pullPolicy: IfNotPresent
   logginglevel: "WARNING"
 
index 2674eac..c64535e 100644 (file)
@@ -257,10 +257,11 @@ The following instruction should be done outside of INF platform controller host
 
   o2ims:
     serviceaccountname: admin-oran-o2
-    image:
-      img_o2: nexus3.o-ran-sc.org:10004/o-ran-sc/pti-o2imsdms:2.0.0
-      img_postgres: postgres:9.6
-      img_redis: redis:alpine
+    images:
+      tags:
+        o2service: nexus3.o-ran-sc.org:10004/o-ran-sc/pti-o2imsdms:2.0.0
+        postgres: docker.io/library/postgres:9.6
+        redis: docker.io/library/redis:alpine
       pullPolicy: IfNotPresent
     logginglevel: "DEBUG"