Skip to content

Commit

Permalink
feat(clustertool): load traefik, clusterissuer and blocky during boot…
Browse files Browse the repository at this point in the history
…strap
  • Loading branch information
PrivatePuffin committed Nov 5, 2024
1 parent 76b5d39 commit f02856c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clustertool/pkg/gencmd/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,17 @@ func RunBootstrap(args []string) {
{filepath.Join(helper.ClusterPath, "/kubernetes/system/spegel/app"), false, true},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/cert-manager/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/kyverno/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/kubernetes-reflector/app"), false, false},
}
fluxhandler.InstallCharts(prioCharts, HelmRepos, false)

intermediateCharts := []fluxhandler.HelmChart{
{filepath.Join(helper.ClusterPath, "/kubernetes/system/metallb/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/core/clusterissuer/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/cloudnative-pg/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/kube-system/node-feature-discovery/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/kube-system/metrics-server/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/kube-system/descheduler/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/kubernetes-reflector/app"), false, false},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/volsync/app"), false, true},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/snapshot-controller/app"), false, true},
{filepath.Join(helper.ClusterPath, "/kubernetes/system/openebs/app"), false, true},
Expand Down Expand Up @@ -207,6 +208,8 @@ func RunBootstrap(args []string) {

log.Info().Msg("Bootstrap: Installing included applications")
postCharts := []fluxhandler.HelmChart{
{filepath.Join(helper.ClusterPath, "/kubernetes/core/traefik/app"), false, true},
{filepath.Join(helper.ClusterPath, "/kubernetes/core/blocky/app"), false, true},
{filepath.Join(helper.ClusterPath, "/kubernetes/apps/kubernetes-dashboard/app"), false, true},
}

Expand Down

0 comments on commit f02856c

Please sign in to comment.