diff --git a/pkg/KubeArmorOperator/internal/controller/cluster.go b/pkg/KubeArmorOperator/internal/controller/cluster.go index fd1e5af0a..b0857c304 100644 --- a/pkg/KubeArmorOperator/internal/controller/cluster.go +++ b/pkg/KubeArmorOperator/internal/controller/cluster.go @@ -722,7 +722,7 @@ func (clusterWatcher *ClusterWatcher) DeleteAllTlsSecrets() error { for _, secret := range tlsSecrets { err := clusterWatcher.Client.CoreV1().Secrets(common.Namespace).Delete(context.Background(), secret, v1.DeleteOptions{}) if err != nil { - clusterWatcher.Log.Errorf("error while deleing secret: %s, error=%s", secret, err.Error()) + clusterWatcher.Log.Errorf("error while deleting secret: %s, error=%s", secret, err.Error()) return err } }