We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f0937 commit 4cbb6c4Copy full SHA for 4cbb6c4
pkg/apis/deployment/v1alpha/deployment.go
@@ -52,12 +52,13 @@ type ArangoDeployment struct {
52
func (d *ArangoDeployment) AsOwner() metav1.OwnerReference {
53
trueVar := true
54
return metav1.OwnerReference{
55
- APIVersion: SchemeGroupVersion.String(),
56
- Kind: ArangoDeploymentResourceKind,
57
- Name: d.Name,
58
- UID: d.UID,
59
- Controller: &trueVar,
60
- BlockOwnerDeletion: &trueVar,
+ APIVersion: SchemeGroupVersion.String(),
+ Kind: ArangoDeploymentResourceKind,
+ Name: d.Name,
+ UID: d.UID,
+ Controller: &trueVar,
+ // For now BlockOwnerDeletion does not work on OpenShift, so we leave it out.
61
+ //BlockOwnerDeletion: &trueVar,
62
}
63
64
0 commit comments