mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Merge pull request #1634 from ozhuraki/nrt-owner-reference-fix
topology-updater: Set APIVersion, Kind in the OwnerReference explicitly
This commit is contained in:
commit
2c4a3e5718
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ func (w *nfdTopologyUpdater) updateNodeResourceTopology(zoneInfo v1alpha2.ZoneLi
|
|||
} else {
|
||||
w.ownerRefs = []metav1.OwnerReference{
|
||||
{
|
||||
APIVersion: ns.APIVersion,
|
||||
Kind: ns.Kind,
|
||||
APIVersion: "v1",
|
||||
Kind: "Namespace",
|
||||
Name: ns.Name,
|
||||
UID: types.UID(ns.UID),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue