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

feat(helm): add list of container images #549

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tiagolobocastro
Copy link
Contributor

@tiagolobocastro tiagolobocastro commented Sep 30, 2024

Adds a list of container images which are used by the chart.
This list is contained in file: charts/images.txt

Sometimes the images can't be figured out using templates, and in such
cases we need to manually add them.
In some cases we might be able to do this using helm variables, which
is what we're doing with the localpv provisioner.

Github actions have been modified to verify the contents of the images
as well as testing them with a live cluster.
This is a pretty dumb test that just checks if the live pod images are
contained in the images files.

scripts/helm/template-images.sh Outdated Show resolved Hide resolved
scripts/helm/verify-kind-images.sh Outdated Show resolved Hide resolved
scripts/helm/verify-kind-images.sh Outdated Show resolved Hide resolved
scripts/helm/verify-kind-images.sh Outdated Show resolved Hide resolved
@tiagolobocastro tiagolobocastro force-pushed the helm-images branch 3 times, most recently from eb4fbbd to 692a86a Compare February 3, 2025 16:37
@tiagolobocastro tiagolobocastro marked this pull request as ready for review February 3, 2025 16:37
@tiagolobocastro tiagolobocastro force-pushed the helm-images branch 4 times, most recently from 7f5337c to 27b40f1 Compare February 3, 2025 19:27
@tiagolobocastro
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Feb 3, 2025
@bors-openebs-mayastor
Copy link
Contributor

try

Build succeeded:

@@ -0,0 +1,29 @@
bats/bats:1.8.2
Copy link
Member

Choose a reason for hiding this comment

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

Is this file needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this keeps an exact list of images

file.yml Outdated
@@ -0,0 +1,4 @@
a:
Copy link
Member

Choose a reason for hiding this comment

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

What is this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doh, testing :D will delete

Adds a list of container images which are used by the chart.
This list is contained in file: charts/images.txt

Sometimes the images can't be figured out using templates, and in such
cases we need to manually add them.
In some cases we might be able to do this using helm variables, which
is what we're doing with the localpv provisioner.

Github actions have been modified to verify the contents of the images
as well as testing them with a live cluster.
This is a pretty dumb test that just checks if the live pod images are
contained in the images files.

Signed-off-by: Tiago Castro <[email protected]>
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.

4 participants