X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=installers%2Fdocker%2Fosm_pods%2Flcm.yaml;h=5f34c0d80dd1c52b85ad6a3773eb6650e22070a4;hb=e259b321ba575dee95274b3841d5063e54f75a97;hp=26284088b185c088d50741ab431d3f3b3c46472c;hpb=a345fc57f8bcd7cec896d3cfac62834a81e2cf87;p=osm%2Fdevops.git diff --git a/installers/docker/osm_pods/lcm.yaml b/installers/docker/osm_pods/lcm.yaml index 26284088..5f34c0d8 100644 --- a/installers/docker/osm_pods/lcm.yaml +++ b/installers/docker/osm_pods/lcm.yaml @@ -30,6 +30,10 @@ spec: labels: app: lcm spec: + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 initContainers: - name: kafka-ro-mongo-test image: alpine:latest @@ -54,16 +58,4 @@ spec: value: mongodb://mongodb-k8s:27017/?replicaSet=rs0 envFrom: - secretRef: - name: lcm-secret - volumeMounts: - - name: osm-packages - mountPath: /app/storage - - name: prometheus-config - mountPath: /etc/prometheus - volumes: - - name: osm-packages - hostPath: - path: /var/lib/osm/osm_osm_packages/_data - - name: prometheus-config - hostPath: - path: /var/lib/osm/prometheus + name: lcm-secret