Skip to content

Commit 09867a9

Browse files
committed
AsOwner no longer things the owner refers to a controller. It refers to the ArangoDeployment
1 parent 14ee4f7 commit 09867a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/apis/deployment/v1alpha/deployment.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ type ArangoDeployment struct {
5050

5151
// AsOwner creates an OwnerReference for the given deployment
5252
func (d *ArangoDeployment) AsOwner() metav1.OwnerReference {
53-
controller := true
5453
return metav1.OwnerReference{
5554
APIVersion: SchemeGroupVersion.String(),
5655
Kind: ArangoDeploymentResourceKind,
5756
Name: d.Name,
5857
UID: d.UID,
59-
Controller: &controller,
6058
}
6159
}
6260

0 commit comments

Comments
 (0)