Skip to content

Commit

Permalink
chore(filers): add label for namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose-Matsuda committed May 22, 2024
1 parent 4edc174 commit df687f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const (
kubeflowEdit = "kubeflow-edit"
kubeflowView = "kubeflow-view"
istioInjectionLabel = "istio-injection"
filerInjectionLabel = "filer-sidecar-injection"
)

const DEFAULT_EDITOR = "default-editor"
Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit df687f3

Please sign in to comment.