X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fdocker%2Fosm_pods%2Fnbi.yaml;h=bbdf6451c172fb4459cf4865dc50a3b694a8f43e;hb=a8e75d03f48d0a7d7ae7c18f8151ef2e244a787d;hp=87a459db20fa89dcfcfd572b256407394d148ef2;hpb=1425183b02d34b016e83d516087b2849c44c93ea;p=osm%2Fdevops.git diff --git a/installers/docker/osm_pods/nbi.yaml b/installers/docker/osm_pods/nbi.yaml index 87a459db..bbdf6451 100644 --- a/installers/docker/osm_pods/nbi.yaml +++ b/installers/docker/osm_pods/nbi.yaml @@ -44,13 +44,17 @@ spec: labels: app: nbi spec: + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 initContainers: - name: kafka-mongo-test image: alpine:latest 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 + image: opensourcemano/nbi:11 ports: - containerPort: 9999 protocol: TCP @@ -70,10 +74,3 @@ spec: envFrom: - secretRef: name: nbi-secret - volumeMounts: - - name: osm-packages - mountPath: /app/storage - volumes: - - name: osm-packages - hostPath: - path: /var/lib/osm/osm_osm_packages/_data