Skip to content

Conversation

@shashi165
Copy link
Contributor

No description provided.

gibaros
gibaros previously approved these changes Aug 13, 2025
Copy link
Contributor

@gibaros gibaros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shashi165 shashi165 changed the title fix: TTK backend config files not copied properly fix: ttk backend config files not copied properly Aug 14, 2025
if echo "$CONTENT" | grep -q '^"http'; then
URL=$(echo "$CONTENT" | tr -d '"')
echo "Downloading $URL to $DEST"
wget -q -O "$DEST" "$URL"
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor

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

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants