diff options
Diffstat (limited to 'certServiceK8sExternalProvider/src/certservice-provisioner')
-rw-r--r-- | certServiceK8sExternalProvider/src/certservice-provisioner/certservice-provisioner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certServiceK8sExternalProvider/src/certservice-provisioner/certservice-provisioner.go b/certServiceK8sExternalProvider/src/certservice-provisioner/certservice-provisioner.go index b20e0395..262e708b 100644 --- a/certServiceK8sExternalProvider/src/certservice-provisioner/certservice-provisioner.go +++ b/certServiceK8sExternalProvider/src/certservice-provisioner/certservice-provisioner.go @@ -32,7 +32,7 @@ import ( "encoding/base64" "encoding/pem" "fmt" - certmanager "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1alpha2" + certmanager "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1" "k8s.io/apimachinery/pkg/types" "onap.org/oom-certservice/k8s-external-provider/src/api" ctrl "sigs.k8s.io/controller-runtime" @@ -80,7 +80,7 @@ func (ca *CertServiceCA) Sign(ctx context.Context, certificateRequest *certmanag key, _ := base64.RawStdEncoding.DecodeString(string(ca.key)) log.Info("CA: ", "name", ca.name, "url", ca.url, "key", key) - crPEM := certificateRequest.Spec.CSRPEM + crPEM := certificateRequest.Spec.Request csrBase64 := crPEM log.Info("Csr PEM: ", "bytes", csrBase64) |