-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bug_regressionbugs found in regression testing done on mainbugs found in regression testing done on mainteam/pesto
Description
Release:
- latest main
Priority
- medium
Severity
- medium
Describe the bug
gitops CLI is using legacy v1/profiles
end point instead of v1/charts/list
.
To Reproduce
Run the following command on a freshly created management cluster.
gitops --endpoint https://weave.gitops.enterprise.com:30080 --insecure-skip-tls-verify -u wego-admin -p wego-enterprise get profiles
Actual behaviour
The command is failing with the error:
erver error: {"code":2,"message":"failed to scan HelmRepository \"flux-system\"/\"weaveworks-charts\" for charts: failed to read profiles data for helm repo (flux-system/weaveworks-charts): open /tmp/helm-cache/flux-system/weaveworks-charts/profiles.yaml: no such file or directory","details":[]}
Error: unable to retrieve profiles from "https://weave.gitops.enterprise.com:30080": response status for GET "https://weave.gitops.enterprise.com:30080/v1/profiles" was 500
Expected behaviour
The command should not fail and returns the available charts in repository 'weaveworks-charts'
Cloud provider:
N/A
Metadata
Metadata
Assignees
Labels
bug_regressionbugs found in regression testing done on mainbugs found in regression testing done on mainteam/pesto