Log the worker DaemonSet creation

This commit is contained in:
M. Mert Yildiran 2023-01-22 05:14:28 +03:00
parent 1533d1ec28
commit 2c6c71cf49
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -29,6 +29,8 @@ func CreateWorkers(
serviceAccountName = ""
}
log.Info().Msg("Creating the worker DaemonSet...")
if err := kubernetesProvider.ApplyWorkerDaemonSet(
ctx,
namespace,
@ -46,7 +48,7 @@ func CreateWorkers(
return err
}
log.Debug().Msg("Successfully created workers.")
log.Info().Msg("Successfully created the worker DaemonSet.")
return nil
}