borchero/switchboard

Chart not found when installing as a dependency

Closed this issue ยท 4 comments

I'm pulling in Switchboard as a subchart to my own chart with the following:

- name: switchboard
  version: 0.5.8
  repository: oci://ghcr.io/borchero/charts/switchboard
  condition: switchboard.enabled

When I run helm dependency update I receive the following error:

Error: could not download oci://ghcr.io/borchero/charts/switchboard/switchboard: ghcr.io/borchero/charts/switchboard/switchboard:0.5.8: not found

Am I missing something?

For anyone else coming up against this, I had configured the dependency incorrectly.

- name: charts/switchboard
  version: 0.5.8
  repository: oci://ghcr.io/borchero
  condition: switchboard.enabled

@borchero reopening this as I've encountered a follow-on issue. I'm receiving an error when trying to package my chart:

Error: found in Chart.yaml, but missing in charts/ directory: charts/switchboard

The contents of the /charts directory includes Switchboard, but the name of the Switchboard chart in Chart.yaml switchboard, not charts/switchboard. Is this likely the cause of the error?

Nevermind, solved it again:

- name: switchboard
  version: 0.5.8
  repository: oci://ghcr.io/borchero/charts
  condition: switchboard.enabled

Nevermind, solved it again

Ah yes, this looks familiar now ๐Ÿ˜„