From ae94b57ece4a8e387c4b66016599fa01121896bf Mon Sep 17 00:00:00 2001 From: Periklis Tsirakidis Date: Thu, 11 Jul 2024 16:42:28 +0200 Subject: [PATCH] fix(operator): Skip updating annotations for serviceaccounts (#13450) --- operator/CHANGELOG.md | 1 + operator/internal/manifests/mutate.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/CHANGELOG.md b/operator/CHANGELOG.md index 07ada58cfee4..41ef4112d883 100644 --- a/operator/CHANGELOG.md +++ b/operator/CHANGELOG.md @@ -2,6 +2,7 @@ ## Release 5.8.9 +- [13450](https://github.com/grafana/loki/pull/13450) **periklis**: fix(operator): Skip updating annotations for serviceaccounts - [13430](https://github.com/grafana/loki/pull/13430) **periklis**: fix(operator): Support v3.1.0 in OpenShift dashboards - [318](https://github.com/openshift/loki/pull/318) **periklis**: fix(operator): Disable structured metadata - [13422](https://github.com/grafana/loki/pull/13422) **periklis** feat(operator): Update Loki operand to v3.1.0 diff --git a/operator/internal/manifests/mutate.go b/operator/internal/manifests/mutate.go index 27421750bf2c..0290cc547a89 100644 --- a/operator/internal/manifests/mutate.go +++ b/operator/internal/manifests/mutate.go @@ -162,7 +162,6 @@ func mutateSecret(existing, desired *corev1.Secret) { } func mutateServiceAccount(existing, desired *corev1.ServiceAccount) { - existing.Annotations = desired.Annotations existing.Labels = desired.Labels }