From 6173f58c19357a92fa6c7c77f481323e070cf3cc Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Wed, 29 Nov 2023 09:36:33 -0500 Subject: [PATCH] s --- internal/controllers/certmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controllers/certmanager.go b/internal/controllers/certmanager.go index 136bbc858..c36429c93 100644 --- a/internal/controllers/certmanager.go +++ b/internal/controllers/certmanager.go @@ -140,7 +140,7 @@ func (r *Reconciler) setupTLS(ctx context.Context, cr *model.CryostatInstance) ( if namespaceSecret.Data == nil { namespaceSecret.Data = map[string][]byte{} } - namespaceSecret.Data["corev1.TLSCertKey"] = secret.Data["corev1.TLSCertKey"] + namespaceSecret.Data[corev1.TLSCertKey] = secret.Data[corev1.TLSCertKey] return nil }) if err != nil {