Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fetch of authorization token
[nonrtric.git]
/
test
/
simulator-group
/
ics
/
app.yaml
diff --git
a/test/simulator-group/ics/app.yaml
b/test/simulator-group/ics/app.yaml
index
9547dea
..
494db03
100644
(file)
--- a/
test/simulator-group/ics/app.yaml
+++ b/
test/simulator-group/ics/app.yaml
@@
-17,6
+17,9
@@
spec:
run: $ICS_APP_NAME
autotest: ICS
spec:
run: $ICS_APP_NAME
autotest: ICS
spec:
+ securityContext:
+ runAsUser: 0
+# Need to run as root to be able to store files in dir mounted as a hostPath volume
containers:
- name: $ICS_APP_NAME
image: $ICS_IMAGE
containers:
- name: $ICS_APP_NAME
image: $ICS_IMAGE
@@
-27,9
+30,9
@@
spec:
- name: https
containerPort: $ICS_INTERNAL_SECURE_PORT
volumeMounts:
- name: https
containerPort: $ICS_INTERNAL_SECURE_PORT
volumeMounts:
- - mountPath: $ICS_CONFIG_MOUNT_PATH
+ - mountPath: $ICS_CONFIG_MOUNT_PATH/$ICS_CONFIG_FILE
+ subPath: $ICS_CONFIG_FILE
name: ics-conf-name
name: ics-conf-name
- volumeMounts:
- mountPath: $ICS_CONTAINER_MNT_DIR
name: ics-data-name
volumes:
- mountPath: $ICS_CONTAINER_MNT_DIR
name: ics-data-name
volumes: