Skip to content

Commit

Permalink
add field manager
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Oct 18, 2024
1 parent 7c38c13 commit 00868f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/cluster/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (c *Cluster) UpdateZarfManagedGitSecrets(ctx context.Context, state *types.
continue
}
spinner.Updatef("Updating existing Zarf-managed git secret for namespace: %s", namespace.Name)
_, err = c.Clientset.CoreV1().Secrets(*newGitSecret.Namespace).Apply(ctx, newGitSecret, metav1.ApplyOptions{Force: true})
_, err = c.Clientset.CoreV1().Secrets(*newGitSecret.Namespace).Apply(ctx, newGitSecret, metav1.ApplyOptions{Force: true, FieldManager: "zarf"})
if err != nil {
return err
}
Expand Down

0 comments on commit 00868f4

Please sign in to comment.