Skip to content

Commit 5a7d0f8

Browse files
authored
Merge pull request #494 from fluxcd/tidy-build-getter
2 parents 917e2e2 + 713f057 commit 5a7d0f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

controllers/helmrelease_controller.go

-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ func (r *HelmReleaseReconciler) buildRESTClientGetter(ctx context.Context, hr v2
480480
// If this is not configured either, this option will result in a no-op.
481481
kube.WithImpersonate(hr.Spec.ServiceAccountName, hr.GetNamespace()),
482482
}
483-
opts = append(opts)
484483
if hr.Spec.KubeConfig != nil {
485484
secretName := types.NamespacedName{
486485
Namespace: hr.GetNamespace(),

0 commit comments

Comments
 (0)