Skip to content

chore(CI builds): Expose an in-cluster Helm repo off of the OCI chart pulled#161

Merged
openshift-merge-bot[bot] merged 3 commits intoredhat-developer:mainfrom
rm3l:host_in_cluster_chart_repo_for_ci_builds
May 15, 2025
Merged

chore(CI builds): Expose an in-cluster Helm repo off of the OCI chart pulled#161
openshift-merge-bot[bot] merged 3 commits intoredhat-developer:mainfrom
rm3l:host_in_cluster_chart_repo_for_ci_builds

Conversation

@rm3l
Copy link
Copy Markdown
Member

@rm3l rm3l commented May 15, 2025

Description of the change

#152 introduced the automatic generation of a HelmChartRepository Resource in the cluster, but the problem is that it does not support neither OCI artifacts nor file references in its connectionConfig. It only supports repos served over HTTP.
This PR extends this approach by also deploying an in-cluster (not exposed publicly) web server that serves the necessary Helm repo files (index.yaml and chart archive from the OCI artifact).
With this, the corresponding chart CI version now shows up in the list on the OCP console, and it is possible to upgrade via the web console after deploying the Chart via CLI.

Screenshot From 2025-05-15 16-23-57

Screenshot From 2025-05-15 16-23-29

Existing or Associated Issue(s)

Ref: https://issues.redhat.com/browse/RHIDP-7251
Ref: https://issues.redhat.com/browse/RHIDP-6668

Additional Information

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the values.yaml and added to the README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes.
  • JSON Schema template updated and re-generated the raw schema via pre-commit hook.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

/cc @nickboldt @Omar-AlJaljuli @gustavolira

Comment thread .rhdh/scripts/install.sh Outdated
Comment thread .rhdh/scripts/install.sh Outdated
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

cool beans, works for me assuming it's been tested (and that's how the screenshots were created).

/lgtm
/approve

@openshift-ci openshift-ci Bot added the lgtm label May 15, 2025
@openshift-merge-bot openshift-merge-bot Bot merged commit 7f6367d into redhat-developer:main May 15, 2025
8 checks passed
@rm3l rm3l deleted the host_in_cluster_chart_repo_for_ci_builds branch May 15, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants