Skip to content

Commit

Permalink
Changes as per suggestion and clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Parth Patel <p.patel81@yahoo.com>
  • Loading branch information
ppatel1604 committed Feb 5, 2024
1 parent e6f2bdb commit f309eaf
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
clusterExternalSecret.Status.ExternalSecretName = esName

failedNamespaces := r.deleteOutdatedExternalSecrets(ctx, namespaceList, esName, clusterExternalSecret.Name, clusterExternalSecret.Status.ProvisionedNamespaces)

condition := NewClusterExternalSecretCondition(failedNamespaces)
SetClusterExternalSecretCondition(&clusterExternalSecret, *condition)


provisionedNamespaces := []string{}
for _, namespace := range namespaceList.Items {
var existingES esv1beta1.ExternalSecret
Expand Down

0 comments on commit f309eaf

Please sign in to comment.