Skip to content

Commit f5b0864

Browse files
authored
Merge pull request #177 from jds9090/issue/176
🐛 Add namespace when listing HelmReleaseProxies related to HelmChartProxy
2 parents 378279b + c3f7efc commit f5b0864

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/helmchartproxy/helmchartproxy_controller_phases.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func (r *HelmChartProxyReconciler) getExistingHelmReleaseProxy(ctx context.Conte
104104
helmReleaseProxyList := &addonsv1alpha1.HelmReleaseProxyList{}
105105

106106
listOpts := []client.ListOption{
107+
client.InNamespace(helmChartProxy.Namespace),
107108
client.MatchingLabels{
108109
clusterv1.ClusterNameLabel: cluster.Name,
109110
addonsv1alpha1.HelmChartProxyLabelName: helmChartProxy.Name,

0 commit comments

Comments
 (0)