diff --git a/src/internal/packager/helm/post-render.go b/src/internal/packager/helm/post-render.go index a87f7a5ca1..fc5c93cb75 100644 --- a/src/internal/packager/helm/post-render.go +++ b/src/internal/packager/helm/post-render.go @@ -167,7 +167,6 @@ func (r *renderer) adoptAndUpdateNamespaces(ctx context.Context) error { if err != nil { return fmt.Errorf("problem applying registry secret for the %s namespace: %w", name, err) } - gitServerSecret := c.GenerateGitPullCreds(name, config.ZarfGitServerSecretName, r.state.GitServer) _, err = c.Clientset.CoreV1().Secrets(*gitServerSecret.Namespace).Apply(ctx, gitServerSecret, metav1.ApplyOptions{Force: true, FieldManager: cluster.FieldManagerName}) if err != nil {