Files
truecharts/clustertool/cmd/adv_fluxbootstrap.go
T
2024-10-17 12:56:56 +02:00

22 lines
406 B
Go

package cmd
import (
"context"
"github.com/spf13/cobra"
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
)
var fluxbootstrap = &cobra.Command{
Use: "fluxbootstrap",
Short: "Manually bootstrap fluxcd on existing cluster",
Run: func(cmd *cobra.Command, args []string) {
ctx := context.Background()
fluxhandler.FluxBootstrap(ctx)
},
}
func init() {
adv.AddCommand(fluxbootstrap)
}