HYPERFLEET-1056 - feat: Add helmfile and helm as dependencies for ope…#80060
HYPERFLEET-1056 - feat: Add helmfile and helm as dependencies for ope…#80060ma-hill wants to merge 1 commit into
Conversation
…nshift-hyperfleet/hyperfleet-infra configs
WalkthroughA single OpenShift Hyperfleet CI operator configuration file updates its embedded Dockerfile to parameterize the Helm Diff plugin version ( ChangesBuild Container Tool Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ma-hill The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@ma-hill: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/openshift-hyperfleet/hyperfleet-infra/openshift-hyperfleet-hyperfleet-infra-main.yaml`:
- Around line 28-30: The helmfile install pipeline currently curls and untars
the release (using HELMFILE_VERSION, extracting to /tmp and moving /tmp/helmfile
to /usr/local/bin/helmfile) with no integrity check; update that block to
download and verify a pinned SHA256 checksum for the helmfile tarball (fetch the
corresponding .sha256 or a known SHA value for HELMFILE_VERSION, validate the
tarball before extracting, and fail on mismatch) and only then extract and move
/tmp/helmfile. For the helm-diff plugin (databus23/helm-diff v3.15.7), don’t
remove --verify=false—instead install from the release tarball and pin/validate
its SHA256 before running helm plugin install (keep --verify=false because no
.prov exists), so replace the current remote install invocation with a
fetch+checksum+install flow that names the exact version (v3.15.7) and verifies
the SHA256 prior to installation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 120eb047-1480-4f4d-9959-2d2fb9fc5169
📒 Files selected for processing (1)
ci-operator/config/openshift-hyperfleet/hyperfleet-infra/openshift-hyperfleet-hyperfleet-infra-main.yaml
Summary
Adds helmfile and the helm-diff plugin as dependencies to the hyperfleet-infra CI build root image. This enables the repository to use helmfile for managing Helm chart deployments and the diff plugin for visualizing changes before applying them. These tools are required for the infrastructure-as-code workflows in hyperfleet-infra.
HYPERFLEET-1056
Changes
HELMFILE_VERSION=1.5.2build argument to the build root DockerfileHELM_DIFF_VERSION=3.15.7build argument for the helm-diff plugin version/usr/local/bin/helmfilehelm plugin installwith version pinningTest Plan
make updatepasses (regenerates CI job configurations)make checkpasses (validates service configs)Summary by CodeRabbit
This PR updates the OpenShift Hyperfleet infrastructure CI build root image to include helmfile and the helm-diff plugin as dependencies. The change modifies the CI operator configuration for the hyperfleet-infra component repository.
What changed:
The
build_root.project_image.dockerfile_literalin the CI operator configuration now includes:HELM_DIFF_VERSION=3.15.7to pin the helm-diff plugin versionHELMFILE_VERSION=1.5.2for helmfile version/usr/local/binhelm plugin installwith version pinning and verification disabledImpact:
The CI build environment for hyperfleet-infra will now have helmfile available for declarative Helm chart deployment management, along with the helm-diff plugin for visualizing differences between current and target Helm deployments. This enables the build pipeline to use helmfile-based workflows for infrastructure management and provides better visibility into Helm manifest changes.
This configuration change only affects the CI build environment tooling and does not directly impact deployed infrastructure.