Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Unable to use chart published to OCP helm charts repository as a dependency #135

Open
tumido opened this issue Oct 25, 2023 · 0 comments
Open
Labels
kind/bug Something isn't working status/triage

Comments

@tumido
Copy link
Member

tumido commented Oct 25, 2023

Describe the bug

Raising awareness of this bug: openshift-helm-charts/charts#773

Expected Behavior

Chart deploys

What are the steps to reproduce this bug?

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace:  redhat-developer-hub


helmCharts:
  - name: developer-hub
    releaseName: redhat-developer-hub
    namespace: redhat-developer-hub
    repo: https://charts.openshift.io/
    valuesFile: values.yaml

After oc apply or via ArgoCD, it results in:

Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): `kustomize build <path to cached source>/clusters/hub/overlays/redhat-developer-hub --enable-alpha-plugins --load-restrictor LoadRestrictionsNone --helm-command /usr/local/bin/helm` failed exit status 1: Error: Error: chart "developer-hub" not found in https://charts.openshift.io/ repository : unable to run: '/usr/local/bin/helm pull --untar --untardir <path to cached source>/clusters/hub/overlays/redhat-developer-hub/charts --repo https://charts.openshift.io/ developer-hub' with env=[HELM_CONFIG_HOME=/tmp/kustomize-helm-83159299/helm HELM_CACHE_HOME=/tmp/kustomize-helm-83159299/helm/.cache HELM_DATA_HOME=/tmp/kustomize-helm-83159299/helm/.data] (is '/usr/local/bin/helm' installed?): exit status 1

Versions of software used and environment

N/A

@tumido tumido added kind/bug Something isn't working status/triage labels Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working status/triage
Projects
None yet
Development

No branches or pull requests

1 participant