Skip to content

Commit

Permalink
Merge pull request kubevirt#6565 from Barakmor1/kubevirt_fix_label
Browse files Browse the repository at this point in the history
kubevirt's components `managed-by` label's value changed to `virt-operator`
  • Loading branch information
kubevirt-bot authored Oct 27, 2021
2 parents ed80fa5 + 89d2dbc commit 828dd03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/virt-operator/resource/apply/apps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ var _ = Describe("Apply Apps", func() {
managedBy, ok := deployment.Labels["app.kubernetes.io/managed-by"]

Expect(ok).To(BeTrue())
Expect(managedBy).To(Equal("kubevirt-operator"))
Expect(managedBy).To(Equal("virt-operator"))

version, ok := deployment.Annotations["kubevirt.io/install-strategy-version"]
Expect(ok).To(BeTrue())
Expand Down
2 changes: 1 addition & 1 deletion pkg/virt-operator/resource/apply/reconcile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ var _ = Describe("Apply", func() {
managedBy, ok := deployment.Labels["app.kubernetes.io/managed-by"]

Expect(ok).To(BeTrue())
Expect(managedBy).To(Equal("kubevirt-operator"))
Expect(managedBy).To(Equal("virt-operator"))

version, ok := deployment.Annotations["kubevirt.io/install-strategy-version"]
Expect(ok).To(BeTrue())
Expand Down
2 changes: 1 addition & 1 deletion staging/src/kubevirt.io/client-go/apis/core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ const (
AppComponent = "kubevirt"
// This label will be set on all resources created by the operator
ManagedByLabel = AppLabelPrefix + "/managed-by"
ManagedByLabelOperatorValue = "kubevirt-operator"
ManagedByLabelOperatorValue = "virt-operator"
// This annotation represents the kubevirt version for an install strategy configmap.
InstallStrategyVersionAnnotation = "kubevirt.io/install-strategy-version"
// This annotation represents the kubevirt registry used for an install strategy configmap.
Expand Down

0 comments on commit 828dd03

Please sign in to comment.