From 280382e6cefeeec673de9525e2d91b2cf75c27db Mon Sep 17 00:00:00 2001 From: Max Ehrlich Date: Thu, 13 Sep 2018 16:58:02 -0400 Subject: [PATCH] Issue and renew should now return the bytes of the CA certificate that was used to issue the certs. This should be set to nil if not applicable Signed-off-by: Max Ehrlich --- pkg/issuer/issuer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/issuer/issuer.go b/pkg/issuer/issuer.go index 67c006663..fd9904552 100644 --- a/pkg/issuer/issuer.go +++ b/pkg/issuer/issuer.go @@ -31,8 +31,8 @@ type Interface interface { Prepare(context.Context, *v1alpha1.Certificate) error // Issue attempts to issue a certificate as described by the certificate // resource given - Issue(context.Context, *v1alpha1.Certificate) ([]byte, []byte, error) + Issue(context.Context, *v1alpha1.Certificate) ([]byte, []byte, []byte, error) // Renew attempts to renew the certificate describe by the certificate // resource given. If no certificate exists, an error is returned. - Renew(context.Context, *v1alpha1.Certificate) ([]byte, []byte, error) + Renew(context.Context, *v1alpha1.Certificate) ([]byte, []byte, []byte, error) }