fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
2.92k stars 409 forks source link

Improve Kubernetes helm support #16212

Open spokanemac opened 7 months ago

spokanemac commented 7 months ago

Problem

The Kubernetes docs for deploying Fleet with helm, suggest a command that assumes https://fleetdm.github.io/fleet/charts exists, but instead provides a 404.

Potential solutions

  1. Add an index.yaml which is required for helm to parse the list of charts
  2. Setup the charts folder to work as a proper repo https://helm.sh/docs/topics/chart_repository/#github-pages-example
noahtalerman commented 7 months ago

The Kubernetes docs for deploying Fleet with helm, suggest a command that assumes https://fleetdm.github.io/fleet/charts exists, but instead provides a 404.

This sounds like a bug...

@zwass @dherder do you know where this link should point to instead?

noahtalerman commented 7 months ago

Robert:

The documented command does work:

helm upgrade --install fleet fleet \
  --repo https://fleetdm.github.io/fleet/charts \
  --values values.yaml

We would have to add an index file to make it so the user can browse different versions at this page: https://fleetdm.github.io/fleet/charts

Noah: Ah, ok. It looks like we don't provide a link to https://fleetdm.github.io/fleet/charts so this isn't a bug.

Robert: This is a nice to have for browsing versions. Instead of always pulling the latest.