diff --git a/internal/util/cmd_setup.go b/internal/util/cmd_setup.go index 915019af..59bceb75 100644 --- a/internal/util/cmd_setup.go +++ b/internal/util/cmd_setup.go @@ -412,7 +412,7 @@ func createJob(ctx context.Context, conf *config.Global, actionName string) erro }, } - nsLog.Info("Creating network policy") + nsLog.Debug("Creating network policy") if _, err := conf.Client.NetworkPolicies().Create(ctx, &policy, metav1.CreateOptions{}); err != nil { nsLog.Error("Failed to create network policy", "error", err) viper.Set(consts.CreateNetworkPolicyKey, "false") diff --git a/internal/util/cmd_teardown.go b/internal/util/cmd_teardown.go index a51626d7..66e09478 100644 --- a/internal/util/cmd_teardown.go +++ b/internal/util/cmd_teardown.go @@ -29,7 +29,7 @@ func Teardown(conf *config.Global) { if viper.GetBool(consts.CreateNetworkPolicyKey) { netPolLog := slog.With("name", conf.Job.Name) - netPolLog.Info("Cleaning up network policy") + netPolLog.Debug("Cleaning up network policy") if err := conf.Client.NetworkPolicies().Delete(ctx, conf.Job.Name, opts); err != nil { netPolLog.Error("Failed to delete network policy", "error", err) }