Merge pull request #494 from fluxcd/tidy-build-getter
This commit is contained in:
commit
5a7d0f8535
|
@ -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.
|
// If this is not configured either, this option will result in a no-op.
|
||||||
kube.WithImpersonate(hr.Spec.ServiceAccountName, hr.GetNamespace()),
|
kube.WithImpersonate(hr.Spec.ServiceAccountName, hr.GetNamespace()),
|
||||||
}
|
}
|
||||||
opts = append(opts)
|
|
||||||
if hr.Spec.KubeConfig != nil {
|
if hr.Spec.KubeConfig != nil {
|
||||||
secretName := types.NamespacedName{
|
secretName := types.NamespacedName{
|
||||||
Namespace: hr.GetNamespace(),
|
Namespace: hr.GetNamespace(),
|
||||||
|
|
Loading…
Reference in New Issue