From 2878c9a70c5806ef40ad049ad8e9f00a0b58606e Mon Sep 17 00:00:00 2001 From: raffaelespazzoli Date: Thu, 10 Feb 2022 10:56:25 -0500 Subject: [PATCH] f (#113) Signed-off-by: raffaelespazzoli --- controllers/secrettokeystore/secret_to_keystore_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/secrettokeystore/secret_to_keystore_controller.go b/controllers/secrettokeystore/secret_to_keystore_controller.go index 5468197..f5a37f6 100644 --- a/controllers/secrettokeystore/secret_to_keystore_controller.go +++ b/controllers/secrettokeystore/secret_to_keystore_controller.go @@ -262,7 +262,7 @@ func (r *SecretToKeyStoreReconciler) getKeyStoreFromSecret(secret *corev1.Secret CreationTime: creationTime, PrivateKey: p.Bytes, CertificateChain: certs, - }, []byte{}) + }, []byte(getPassword(secret))) if err != nil { r.Log.Error(err, "unable to set private key entry")