You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: consistently use the same SetOwnerReference function (#713)
**What problem does this PR solve?**:
Follow up to
https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pull/711/files
😞
Realized that everywhere else we use this function instead. Unit tests
are unchanged, and verified manually too that it all still works:
```
kind: Secret
metadata:
creationTimestamp: "2024-06-11T16:19:52Z"
labels:
cluster.x-k8s.io/provider: nutanix
name: dkoshkin-nkp-secrets-ownership-7-pc-creds-for-csi
namespace: default
ownerReferences:
- apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
name: dkoshkin-nkp-secrets-ownership-7
uid: fd102035-5f0b-4185-92d3-b08c251b775c
```
**Which issue(s) this PR fixes**:
Fixes #
**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->
**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
0 commit comments