From c32cd415a11bf5bd35fcf972b8a60b42ce1759ed Mon Sep 17 00:00:00 2001 From: Husni Alhamdani Date: Wed, 15 Jan 2025 12:51:34 +0700 Subject: [PATCH] chore: move secret logging to v1 (#1211) 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 } }