-
Notifications
You must be signed in to change notification settings - Fork 71
fix: ttk backend config files not copied properly #748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
gibaros
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| if echo "$CONTENT" | grep -q '^"http'; then | ||
| URL=$(echo "$CONTENT" | tr -d '"') | ||
| echo "Downloading $URL to $DEST" | ||
| wget -q -O "$DEST" "$URL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that recent version of TTK backend can download the config files on its own, so there is no need this to happen in the chart. We are trying to run all containers with read only file system to improve security and ensure stateless services.
See mojaloop/ml-testing-toolkit#332
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @kalinkrustev are there any config changes required for this to work? At what stage it downloads the files? If the root filesystem is readonly will the download work? The current mojaloop/values.yaml in the helm repo doesn't work with your latest change. The files are not downloaded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you only need to include the new TTK backend image version in helm. The downloaded config is cached in memory and used directly and not saved to the disk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional PR to implement downloading mojaloop/ml-testing-toolkit#336
|



No description provided.