Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for external Helm Charts stored in OCI Registries #2575

Closed
1 task done
SebastianGau opened this issue Jul 2, 2024 · 1 comment
Closed
1 task done

Support for external Helm Charts stored in OCI Registries #2575

SebastianGau opened this issue Jul 2, 2024 · 1 comment
Labels

Comments

@SebastianGau
Copy link

SebastianGau commented Jul 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When trying to install helm charts stored in OCI registries (see https://helm.sh/docs/topics/registries/ , i.e. repos begin with oci:// instead of https://), e.g. as defined in the following fleet.yaml file,

namespace: tti-stack-namespace
helm:
  repo: oci://registry-1.docker.io/thethingsindustries
  chart: lorawan-stack-helm-chart
  releaseName: tti-stack-release
  version: 0.0.8
  valuesFiles: 
  - tti-values.yaml

fleet does not recognize a "bundle" and no error message can be found anywhere in the log or the GUI. The helm chart is simply not installed in the target clusters. There is also no documentation regarding OCI based registries in the fleet docs and no examples provided in the fleet examples github repo.

Expected Behavior

Fleet correctly recognizes an OCI based helm chart and deploys it as a new bundle. Error messages are displayed in case a chart/bundle cannot be recognized. The documentation and example repo contains helpful examples.

Steps To Reproduce

  1. Create a repo containing the fleet.yaml file defined above (value file does not play a role) 2. register it in the fleet UI 3. open the fleet status UI to check the deployment of the chart

Environment

- Architecture: amd
- Fleet Version: 2.8.2
- Cluster:
  - Provider: AKS
  - Options:
  - Kubernetes Version:

Logs

No response

Anything else?

No response

@SebastianGau
Copy link
Author

Issue can be closed - OCI charts can be deployed like this:

defaultNamespace: tti-stack-namespace
helm:
  chart: oci://registry-1.docker.io/thethingsindustries/lorawan-stack-helm-chart
  releaseName: tti-stack-release
  version: 0.0.8
  valuesFiles: 
  - tti-values.yaml

The necessary documentation is sometimes hard to find in the fleet docs, so there is defintely room for improvement ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant