From df687f313ae35999f5d119c174f2d5a9f95cad74 Mon Sep 17 00:00:00 2001 From: Jose Matsuda Date: Wed, 22 May 2024 11:35:49 -0400 Subject: [PATCH] chore(filers): add label for namespaces --- components/profile-controller/controllers/profile_controller.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/profile-controller/controllers/profile_controller.go b/components/profile-controller/controllers/profile_controller.go index 3e45c4ae4c7..e6a56c3e894 100644 --- a/components/profile-controller/controllers/profile_controller.go +++ b/components/profile-controller/controllers/profile_controller.go @@ -69,6 +69,7 @@ const ( kubeflowEdit = "kubeflow-edit" kubeflowView = "kubeflow-view" istioInjectionLabel = "istio-injection" + filerInjectionLabel = "filer-sidecar-injection" ) const DEFAULT_EDITOR = "default-editor" @@ -130,6 +131,7 @@ func (r *ProfileReconciler) Reconcile(ctx context.Context, request ctrl.Request) // inject istio sidecar to all pods in target namespace by default. Labels: map[string]string{ istioInjectionLabel: "enabled", + filerInjectionLabel: "enabled", }, Name: instance.Name, },