projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update install_osm.sh to solve the issue with no valid OpenPGP data found
[osm/devops.git]
/
installers
/
docker
/
osm_pods
/
pol.yaml
diff --git
a/installers/docker/osm_pods/pol.yaml
b/installers/docker/osm_pods/pol.yaml
index
438ae1f
..
5f562c2
100644
(file)
--- a/
installers/docker/osm_pods/pol.yaml
+++ b/
installers/docker/osm_pods/pol.yaml
@@
-30,25
+30,24
@@
spec:
labels:
app: pol
spec:
labels:
app: pol
spec:
+ securityContext:
+ runAsUser: 1000
+ runAsGroup: 1000
+ fsGroup: 1000
initContainers:
- name: kafka-mongo-test
image: alpine:latest
initContainers:
- name: kafka-mongo-test
image: alpine:latest
- command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"]
+ command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo
db-k8s
27017); do sleep 3; done; exit 0"]
containers:
- name: pol
containers:
- name: pol
- image: opensourcemano/pol:
8
+ image: opensourcemano/pol:
11
env:
- name: OSMPOL_MESSAGE_HOST
value: kafka
- name: OSMPOL_MESSAGE_PORT
value: "9092"
env:
- name: OSMPOL_MESSAGE_HOST
value: kafka
- name: OSMPOL_MESSAGE_PORT
value: "9092"
+ - name: OSMPOL_DATABASE_URI
+ value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
envFrom:
- secretRef:
name: pol-secret
envFrom:
- secretRef:
name: pol-secret
- volumeMounts:
- - name: db
- mountPath: /app/database
- volumes:
- - name: db
- hostPath:
- path: /var/lib/osm/osm_pol_db/_data