canonical / bundle-kubeflow

Charmed Kubeflow
Apache License 2.0
97 stars 48 forks source link

Write a script for deploying the bundle in airgapped #896

Closed NohaIhab closed 1 month ago

NohaIhab commented 1 month ago

Context

When testing CKF bundle in airgapped in environment, the test scipts are setting up the airgapped environment for us. After the setup, when we are inside the lxc container we need to create a bundle.yaml to deploy the local charms with the images from the local registry, a bundle would be similar to this.

This task is to automate the creation of the air-gapped bundle.

What needs to get done

  1. Write a helper script to remove the suffix at the end of charm names
  2. Write a helper script to get the images names in the local registry for all the images
  3. Write the top script to combine the output from script 1 and 2, and create the bundle.yaml

Definition of Done

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5711.

This message was autogenerated

NohaIhab commented 1 month ago

After some discussion, we decided to keep the charms with the suffix to be able to differentiate between different revisions, and instead implement the script to find the charm file for each charm using its name.