Skip to content

Commit e97eaa7

Browse files
committed
NodeController: Switch to IssuerReference
The ObjectReference has been deprecated, so go with the times.
1 parent 80fff7f commit e97eaa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/controller/node_certificate_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (r *NodeCertificateController) ensureCertificate(ctx context.Context, node
131131
CommonName: computeHost,
132132
DNSNames: dnsNames,
133133
IPAddresses: ipAddresses,
134-
IssuerRef: cmmeta.ObjectReference{
134+
IssuerRef: cmmeta.IssuerReference{
135135
Name: r.issuerName,
136136
Kind: cmapi.IssuerKind,
137137
Group: cmapi.SchemeGroupVersion.Group,

0 commit comments

Comments
 (0)