X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fdocker%2Fosm_pods%2Flcm.yaml;h=68326716a09d340c13030a1d90cf4f91a4e5b2f5;hb=004206be4177d82bf024aed01803220e36c5a113;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..68326716 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,12 @@ spec: value: mongodb://mongodb-k8s:27017/?replicaSet=rs0 envFrom: - secretRef: - name: lcm-secret + name: lcm-secret volumeMounts: - - name: osm-packages - mountPath: /app/storage - name: prometheus-config - mountPath: /etc/prometheus + mountPath: /opt/prometheus volumes: - - name: osm-packages - hostPath: - path: /var/lib/osm/osm_osm_packages/_data - name: prometheus-config hostPath: path: /var/lib/osm/prometheus +