diff --git a/controllers/controller_filer.go b/controllers/controller_filer.go index 16770e6..5a7af7c 100644 --- a/controllers/controller_filer.go +++ b/controllers/controller_filer.go @@ -100,6 +100,7 @@ func (r *SeaweedReconciler) ensureFilerConfigMap(seaweedCR *seaweedv1.Seaweed) ( func labelsForFiler(name string) map[string]string { return map[string]string{ + label.ManagedByLabelKey: "seaweedfs-operator", label.NameLabelKey: "seaweedfs", label.ComponentLabelKey: "filer", label.InstanceLabelKey: name, diff --git a/controllers/controller_master.go b/controllers/controller_master.go index 00cb756..5de8ced 100644 --- a/controllers/controller_master.go +++ b/controllers/controller_master.go @@ -119,6 +119,7 @@ func (r *SeaweedReconciler) ensureMasterPeerService(seaweedCR *seaweedv1.Seaweed func labelsForMaster(name string) map[string]string { return map[string]string{ + label.ManagedByLabelKey: "seaweedfs-operator", label.NameLabelKey: "seaweedfs", label.ComponentLabelKey: "master", label.InstanceLabelKey: name, diff --git a/controllers/controller_volume.go b/controllers/controller_volume.go index 03b448b..93326fd 100644 --- a/controllers/controller_volume.go +++ b/controllers/controller_volume.go @@ -82,6 +82,7 @@ func (r *SeaweedReconciler) ensureVolumeServerService(seaweedCR *seaweedv1.Seawe func labelsForVolumeServer(name string) map[string]string { return map[string]string{ + label.ManagedByLabelKey: "seaweedfs-operator", label.NameLabelKey: "seaweedfs", label.ComponentLabelKey: "volume", label.InstanceLabelKey: name,