The files in /share/config inside the container are created by the helm chart. The quick method (courtesy of Gary and Yang) is to copy those files to a another location like /tmp/config and change ete-k8s.sh and demo-k8s.sh on the rancher machine to pass in /tmp/config instead of /share/config for the three files. Then you can edit them inside the robot container. Of course if K8 moves the container those changes will be lost.
The better method is to change the parameters in the integration-override.yaml file that you use to customize ONAP for your environment or to edit the helm resources for those files in the robot oom directory and then do the make robot ; make onap ; helm deploy ... For testing we tend to just copy the files to /tmp/config (you need those files since they have the helm chart variables resolved) Brian From: [email protected] <[email protected]> On Behalf Of Mukesh Hotwani Sent: Friday, October 26, 2018 5:34 AM To: [email protected] Subject: Re: [onap-discuss] [onap-discuss OOM ROBOT] credentials and scripts Hi Brian, When I try to edit the file inside docker, it does not allow to write. Some permission issue Can you please help How can I login to docker using root or change permissions of file thanks, Mukesh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13329): https://lists.onap.org/g/onap-discuss/message/13329 Mute This Topic: https://lists.onap.org/mt/25729195/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
