Skip to content

Commit

Permalink
Merge pull request #494 from fluxcd/tidy-build-getter
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored Jun 7, 2022
2 parents 917e2e2 + 713f057 commit 5a7d0f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/helmrelease_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ func (r *HelmReleaseReconciler) buildRESTClientGetter(ctx context.Context, hr v2
// If this is not configured either, this option will result in a no-op.
kube.WithImpersonate(hr.Spec.ServiceAccountName, hr.GetNamespace()),
}
opts = append(opts)
if hr.Spec.KubeConfig != nil {
secretName := types.NamespacedName{
Namespace: hr.GetNamespace(),
Expand Down

0 comments on commit 5a7d0f8

Please sign in to comment.