helm-controller/

directory
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT, Apache-2.0

README

Flux Helm Controller - Third Party Code

This directory contains code copied from the Flux helm-controller project.

Source

Copied Files

loader/loader.go

Contains:

  • SecureLoadChartFromURL() - Downloads a Helm chart from a URL and verifies its digest
  • NewRetryableHTTPClient() - Creates an HTTP client with retry logic
  • copyAndVerify() - Helper for copying and verifying data against a digest
  • overwriteHostname() - Helper for overwriting URL hostnames (for localhost access)

Why Copied

The loader package is in internal/ and cannot be imported as a Go module dependency. We need SecureLoadChartFromURL() to load Helm charts from source controller artifacts exactly as Flux does, including digest verification.

Modifications

The code has been adapted to:

  • Use the loader package name
  • Remove controller-runtime logger dependency in favor of a simpler approach
  • Combine artifact_url.go and client.go into a single file

Updates

When updating, check the original files at:

Directories

Path Synopsis
Package loader provides functionality for loading Helm charts from URLs.
Package loader provides functionality for loading Helm charts from URLs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL