Add managed-by
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
This commit is contained in:
parent
eb051a3202
commit
753e8e8c00
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue