Interview Prep/Helm/Dependencies, Repositories & OCI

`Error: failed to download "oci://ghcr.io/devopsshack/charts/shop" at version "1.4.0"` with an `http: server gave HTTP response to HTTPS client` error, using a local registry.

IntermediateTroubleshootingDependencies, Repositories & OCI
Answer

Likely causes → The local registry (localhost:5001, kind registry) speaks plain HTTP, and Helm defaults to HTTPS.

Diagnose → curl -s http://localhost:5001/v2/_catalog.

Fix → Add --plain-http (Helm 3.13+) to push, pull, install, template, show; for self-signed TLS use --insecure-skip-tls-verify or --ca-file.

Prevent → Use TLS in shared registries; reserve --plain-http for local labs.

All Helm questions Roadmap: Helm

More on Dependencies, Repositories & OCI