Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 842 Bytes

File metadata and controls

23 lines (17 loc) · 842 Bytes

bootstrap

Declarative cluster bootstrap for the FleetDM stack:

  • Creates the workload namespaces (database, cache, fleet, …) with helm.sh/resource-policy: keep so they survive chart uninstall.
  • Provisions the mysql-credentials Secret in both database and fleet namespaces so the schema-init Jobs and the Fleet pod consume the same credentials.
  • Provisions the fleet JWT Secret in the fleet namespace — pin via fleetJWT.key, otherwise auto-generated on first install and preserved across upgrades through lookup.

The namespace list is driven by .Values.namespaces — edit values.yaml to add more.

Install standalone:

helm install bootstrap charts/bootstrap --namespace default

Or via the project helmfile.yaml.gotmpl — runs first.