This commit is contained in:
Adrián 2019-02-07 20:26:21 +01:00 committed by GitHub
parent 34099a9274
commit ca809b1d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ func NewControllerRevision(parent metav1.Object,
}
cr := &apps.ControllerRevision{
ObjectMeta: metav1.ObjectMeta{
Labels: labelMap,
Labels: labelMap,
OwnerReferences: []metav1.OwnerReference{*metav1.NewControllerRef(parent, parentKind)},
},
Data: data,