Skip to content
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

Add Elemental Chart #2658

Closed
wants to merge 3 commits into from
Closed

Conversation

fgiudici
Copy link
Member

@fgiudici fgiudici commented May 22, 2023

Issue:

rancher/elemental-operator#492 - add Elemental helm charts in rancher/charts repo

Problem

Solution

Testing

Engineering Testing

Manual Testing

Automated Testing

QA Testing Considerations

Regressions Considerations

Backporting considerations

imagePullPolicy: IfNotPresent
+
+channel:
+ repository: "registry.opensuse.org/isv/rancher/elemental/stable/teal53/15.4/rancher/elemental-teal-channel/5.3"
Copy link
Member

@rohitsakala rohitsakala Jul 12, 2023

Choose a reason for hiding this comment

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

This should be rancher not registry.opensuse.org. You can add your docker image to https://github.com/rancher/image-mirror before submitting any new chart.

This goes for all other docker images. It should be rancher docker repo

Copy link
Member Author

@fgiudici fgiudici Jul 27, 2023

Choose a reason for hiding this comment

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

Hey @rohitsakala , thanks for the hint!
We build the images in OBS and now IBS: this means we end-up with our container images being in the registry.suse.com (just updated the link from opensuse to suse registry).
In particular, Elemental brings OS images as containers built on top of SLE OSes, so both the OS images and the channel (here the channel just carries the updated list of SLE based OS images) are build in IBS.
So all then is published on registry.suse.com.
IIUC, regular container images for the Rancher marketplace are uploaded from all the sources and mirrored on dockerhub. Then, for Rancher Prime, those images are mirrored on registry.suse.com from dockerhub.
Since the elemental container images are already built on IBS and automatically published on registry.suse.com, our plan would be to leave them there for everyone. How would that sound?

Updated with mirrored image links from rancher/image-mirror#428 (not there yet).
Added templating.

+
+channel:
+ repository: "registry.opensuse.org/isv/rancher/elemental/stable/teal53/15.4/rancher/elemental-teal-channel/5.3"
+ tag: latest
Copy link
Member

Choose a reason for hiding this comment

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

Also, generally latest is not recommended. Can you please put the specific tag ?

Copy link
Member Author

Choose a reason for hiding this comment

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

The channel here is just a container image carrying a list of URL with updated Elemental OSes, so we wanted it to keep updating... but your comment raised some discussion inside the team, and you are likely right: we need a specific tag here, but then we need to rethink how to provide OS updates 🤔
We'll need some time to address this

Copy link
Member

Choose a reason for hiding this comment

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

You could update the image to the new tag and release a new Chart in rancher/charts by upgrading the version in package.yaml

Copy link
Member Author

Choose a reason for hiding this comment

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

We will check the same image tag regularly and we may required to update it... we anyway need a fixed tag to match the specific Chart version (and so Elemental release). Updated to fixed tag 👍🏼

Copy link
Member

@rohitsakala rohitsakala left a comment

Choose a reason for hiding this comment

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

Other than the comments, everything else looks good to me.

@fgiudici
Copy link
Member Author

fgiudici commented Aug 3, 2023

We need to wait for rancher/image-mirror#428 before merging this.

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
@fgiudici
Copy link
Member Author

fgiudici commented Oct 9, 2023

Target is now 2.8.0, moving to #3104 .

@fgiudici fgiudici closed this Oct 9, 2023
@fgiudici fgiudici deleted the add_elemental branch February 19, 2024 18:03
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.

2 participants