Skip to content

Commit 213ec03

Browse files
authored
Merge pull request #31 from JoshVanL/manager-owner-ref-pod-v1
Change CertificateRequest owner reference of pod `core/v1` -> `v1`
2 parents 8e344a2 + 26fc83c commit 213ec03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func (m *Manager) submitRequest(ctx context.Context, meta metadata.Metadata, csr
411411
},
412412
OwnerReferences: []metav1.OwnerReference{
413413
{
414-
APIVersion: "core/v1",
414+
APIVersion: "v1",
415415
Kind: "Pod",
416416
Name: meta.VolumeContext["csi.storage.k8s.io/pod.name"],
417417
UID: types.UID(meta.VolumeContext["csi.storage.k8s.io/pod.uid"]),

0 commit comments

Comments
 (0)