X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fsimulator-group%2Fics%2Fapp.yaml;h=494db032bb25a3070685a0f79d2200064e80299a;hb=1b82a8331d9b1f92687dbd25e6d28f2943c9df22;hp=9547dea440a6c0a907301954b0682eb7f8976cb7;hpb=5feecd881172a3b22041d35443c1f946e7d5f63e;p=nonrtric.git diff --git a/test/simulator-group/ics/app.yaml b/test/simulator-group/ics/app.yaml index 9547dea4..494db032 100644 --- 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: + 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 @@ -27,9 +30,9 @@ spec: - 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 - volumeMounts: - mountPath: $ICS_CONTAINER_MNT_DIR name: ics-data-name volumes: