use correct operator label for instance in KUDO cli
@@ -180,7 +180,7 @@ func (p *PackageFiles) getCRDs() (*PackageCRDs, error) {
},
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("%s-%s", p.Operator.Name, rand.String(6)),
- Labels: map[string]string{"controller-tools.k8s.io": "1.0", "operator": "zookeeper"},
+ Labels: map[string]string{"controller-tools.k8s.io": "1.0", "operator": p.Operator.Name},
},
Spec: v1alpha1.InstanceSpec{
OperatorVersion: v1.ObjectReference{
