Skip to content

Private Helm Repository cannot be reached #1

@nickperkins

Description

@nickperkins

Issue

If a Helm repository requires authentication to access, the pre-commit hook is unable to access it.

Error: looks like "https://charts.private.repo.test/" is not a valid chart repository or cannot be reached: failed to fetch https://charts.private.repo.test/index.yaml : 401 Unauthorized

Reproduction

Add HelmRepository resource that requires authentication for access. For example:

apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
  name: myrepo
  namespace: flux-system
spec:
  interval: 1m0s
  url: https://charts.private.repo.test/
  secretRef:
    name: helmrepo-credentials

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions