projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding logging around repo
[osm/devops.git]
/
installers
/
docker
/
osm_pods
/
lcm.yaml
diff --git
a/installers/docker/osm_pods/lcm.yaml
b/installers/docker/osm_pods/lcm.yaml
index
2628408
..
6832671
100644
(file)
--- a/
installers/docker/osm_pods/lcm.yaml
+++ b/
installers/docker/osm_pods/lcm.yaml
@@
-30,6
+30,10
@@
spec:
labels:
app: lcm
spec:
labels:
app: lcm
spec:
+ securityContext:
+ runAsUser: 1000
+ runAsGroup: 1000
+ fsGroup: 1000
initContainers:
- name: kafka-ro-mongo-test
image: alpine:latest
initContainers:
- name: kafka-ro-mongo-test
image: alpine:latest
@@
-54,16
+58,12
@@
spec:
value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
envFrom:
- secretRef:
value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
envFrom:
- secretRef:
- name: lcm-secret
+
name: lcm-secret
volumeMounts:
volumeMounts:
- - name: osm-packages
- mountPath: /app/storage
- name: prometheus-config
- name: prometheus-config
- mountPath: /
etc
/prometheus
+ mountPath: /
opt
/prometheus
volumes:
volumes:
- - name: osm-packages
- hostPath:
- path: /var/lib/osm/osm_osm_packages/_data
- name: prometheus-config
hostPath:
path: /var/lib/osm/prometheus
- name: prometheus-config
hostPath:
path: /var/lib/osm/prometheus
+