feat(clustertool/spegel): improve spegel behavior for clustertool and make kubedashboard optional on clustertool
This commit is contained in:
@@ -21,7 +21,7 @@ var fluxbootstrap = &cobra.Command{
|
||||
if err := sops.DecryptFiles(); err != nil {
|
||||
log.Info().Msgf("Error decrypting files: %v\n", err)
|
||||
}
|
||||
initfiles.LoadTalEnv()
|
||||
initfiles.LoadTalEnv(false)
|
||||
_, err := talhelperCfg.LoadAndValidateFromFile(helper.TalConfigFile, []string{helper.ClusterEnvFile}, false)
|
||||
if err != nil {
|
||||
log.Fatal().Err(err).Msg("failed to parse talconfig or talenv file: %s")
|
||||
|
||||
@@ -11,7 +11,7 @@ var testcmd = &cobra.Command{
|
||||
Use: "test",
|
||||
Short: "test run",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
initfiles.LoadTalEnv()
|
||||
initfiles.LoadTalEnv(false)
|
||||
// err := fluxhandler.ProcessJSONFiles("./testdata/truenas_exports")
|
||||
// if err != nil {
|
||||
// log.Info().Msg("Error:", err)
|
||||
|
||||
@@ -12,7 +12,7 @@ var hrinstall = &cobra.Command{
|
||||
Use: "install",
|
||||
Short: "install a helm-release file without flux, helm-release file needs to be called helm-release.yaml",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
initfiles.LoadTalEnv()
|
||||
initfiles.LoadTalEnv(false)
|
||||
|
||||
var dir string
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ var hrupgrade = &cobra.Command{
|
||||
Use: "upgrade",
|
||||
Short: "run helm-upgrade using a helm-release file without flux",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
initfiles.LoadTalEnv()
|
||||
initfiles.LoadTalEnv(false)
|
||||
|
||||
var dir string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user