Skip to content

Commit

Permalink
fix(openshift): correct annotation for topology view (#267) (#269)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5b8f376)

Co-authored-by: Elliott Baron <ebaron@redhat.com>
  • Loading branch information
mergify[bot] and ebaron committed Sep 17, 2021
1 parent 09fbf4e commit 4d5e2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func NewDeploymentForCR(cr *operatorv1beta1.Cryostat, specs *ServiceSpecs, image
"app.kubernetes.io/name": "cryostat",
},
Annotations: map[string]string{
"app.openshift.io/connects-to": "cryostat-operator",
"app.openshift.io/connects-to": "cryostat-operator-controller-manager",
},
},
Spec: appsv1.DeploymentSpec{
Expand Down
2 changes: 1 addition & 1 deletion internal/controllers/cryostat_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ func (t *cryostatTestInput) checkDeployment() {
Expect(deployment.Name).To(Equal("cryostat"))
Expect(deployment.Namespace).To(Equal("default"))
Expect(deployment.Annotations).To(Equal(map[string]string{
"app.openshift.io/connects-to": "cryostat-operator",
"app.openshift.io/connects-to": "cryostat-operator-controller-manager",
}))
Expect(deployment.Labels).To(Equal(map[string]string{
"app": "cryostat",
Expand Down

0 comments on commit 4d5e2e3

Please sign in to comment.