From c50f3631682d1c17ab6fc0d831ee420ad1c684a5 Mon Sep 17 00:00:00 2001 From: Periklis Tsirakidis Date: Mon, 8 Jul 2024 20:04:27 +0200 Subject: [PATCH] fix(operator): Allow only merging annotations for serviceaccounts --- operator/internal/manifests/mutate.go | 1 - 1 file changed, 1 deletion(-) diff --git a/operator/internal/manifests/mutate.go b/operator/internal/manifests/mutate.go index 63308bb9ceb62..390ee86db6e69 100644 --- a/operator/internal/manifests/mutate.go +++ b/operator/internal/manifests/mutate.go @@ -168,7 +168,6 @@ func mutateSecret(existing, desired *corev1.Secret) { } func mutateServiceAccount(existing, desired *corev1.ServiceAccount) { - existing.Annotations = desired.Annotations existing.Labels = desired.Labels }