Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 138d46a

Browse files
fix: use namespace informer #322 (#327)
Signed-off-by: Ryota Sakamoto <sakamo.ryota+github@gmail.com>
1 parent ddb9c6a commit 138d46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func NewController(
4242
registry *controller.MetricsRegistry,
4343
) *notificationController {
4444
appClient := client.Resource(k8s.Applications)
45-
appInformer := newInformer(appClient, appLabelSelector)
45+
appInformer := newInformer(appClient.Namespace(namespace), appLabelSelector)
4646
appProjInformer := newInformer(k8s.NewAppProjClient(client, namespace), "")
4747
secretInformer := k8s.NewSecretInformer(k8sClient, namespace)
4848
configMapInformer := k8s.NewConfigMapInformer(k8sClient, namespace)

0 commit comments

Comments
 (0)