fix: honor the pinned chart version when upgrading
`scheduler-k3s:ensure-charts` announced the pinned chart version but installed whatever the chart repository had published most recently, and an affected cluster could not be brought back in line because a version mismatch was reported and then skipped. Charts now install at the version dokku pins, and a release that has drifted is reconciled back to it. Dokku also no longer registers helm repositories it never read, and the previously undocumented `ensure-charts` and `initialize` flags now appear in the help output.
This commit is contained in:
11 files changed
+456
-167
No files matched your search
@@ -219,26 +219,6 @@ var HelmCharts = []HelmChart{
|
||||
},
|
||||
}
|
||||
|
||||
type HelmRepository struct {
|
||||
Name string
|
||||
URL string
|
||||
}
|
||||
|
||||
var HelmRepositories = []HelmRepository{
|
||||
{
|
||||
Name: "jetstack",
|
||||
URL: "https://charts.jetstack.io",
|
||||
},
|
||||
{
|
||||
Name: "longhorn",
|
||||
URL: "https://charts.longhorn.io",
|
||||
},
|
||||
{
|
||||
Name: "traefik",
|
||||
URL: "https://helm.traefik.io/traefik",
|
||||
},
|
||||
}
|
||||
|
||||
// NodeProfile is a profile for a node in the k3s cluster
|
||||
type NodeProfile struct {
|
||||
// Name is the name of the node profile
|
||||
|
||||
Reference in new issue
Block a user