-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Labels
area/helmHelm related issues and pull requestsHelm related issues and pull requests
Description
Hi there,
I'm getting below error when trying to create HelmRepository:
$ k get helmrepository
NAME URL AGE READY STATUS
helm-charts-test https://artifactory.mydomain.com/artifactory/helm-charts-test 96s False failed to fetch Helm repository index: failed to cache index to temporary file: failed to fetch https://artifactory.mydomain.com/artifactory/helm-charts-test/index.yaml : 403 Forbidden
Manifests
helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: helm-charts-test
spec:
interval: 10m
url: https://artifactory.mydomain.com/artifactory/helm-charts-test
secretRef:
name: helm-charts-creds
creds secret
apiVersion: v1
kind: Secret
metadata:
name: helm-charts-creds
data:
username: xxxxxxxxxx
password: xxxxxxxxxxxxxxxx
username and password were created using
echo -n "username" | base64
I also tried both api-key and identity token as password as well as URL with and without api/helm so https://artifactory.mydomain.com/artifactory/helm-charts-test and https://artifactory.mydomain.com/artifactory/api/helm/helm-charts-test getting the same result every time.
Adding helm repo manually with helm add works just fine.
Metadata
Metadata
Assignees
Labels
area/helmHelm related issues and pull requestsHelm related issues and pull requests