From 03ae9481b68c593cc5aadf7cf417eb7c9d4aa0b4 Mon Sep 17 00:00:00 2001 From: Husni Alhamdani Date: Wed, 15 Jan 2025 11:54:35 +0700 Subject: [PATCH] fix: move secret logging to v1 Signed-off-by: Husni Alhamdani --- pkg/k8sutils/secrets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/k8sutils/secrets.go b/pkg/k8sutils/secrets.go index 8f095bc1e..3665e6163 100644 --- a/pkg/k8sutils/secrets.go +++ b/pkg/k8sutils/secrets.go @@ -21,7 +21,7 @@ func getRedisPassword(ctx context.Context, client kubernetes.Interface, namespac } for key, value := range secretName.Data { if key == secretKey { - logf.FromContext(ctx).Info("Secret key found in the secret", "secretKey", secretKey) + logf.FromContext(ctx).V(1).Info("Secret key found in the secret", "secretKey", secretKey) return strings.TrimSpace(string(value)), nil } }