borchero / switchboard

Kubernetes Operator for Automatically Issuing DNS Records and TLS Certificates for Traefik Ingress Routes.
MIT License
155 stars 15 forks source link

Chart not found when installing as a dependency #132

Closed AlexGodbehere closed 1 year ago

AlexGodbehere commented 1 year ago

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?

AlexGodbehere commented 1 year ago

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
AlexGodbehere commented 1 year ago

@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?

AlexGodbehere commented 1 year ago

Nevermind, solved it again:

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

Nevermind, solved it again

Ah yes, this looks familiar now :smile: