redpanda-operator icon indicating copy to clipboard operation
redpanda-operator copied to clipboard

ServiceMonitor is out of sync in ArgoCD

Open bincyber opened this issue 3 months ago • 1 comments

ArgoCD is marking the ServiceMonitor object as OutOfSync because it expects metadata.annotations to exist even if null:

Image

Chart: operator Chart version: 25.2.1-beta1

Helm values:

replicaCount: 1

crds:
  enabled: false
  experimental: false

image:
  repository: docker.redpanda.com/redpandadata/redpanda-operator
  tag: "v25.2.1-beta1@sha256:2193bf245100f604e9813c71d8a20bf6ce4e4a8f4aefafc7a9166210b5337a61"

logLevel: "info"

resources:
  requests:
    cpu: 100m
    memory: 96Mi
  limits:
    memory: 192Mi

additionalCmdFlags:
  - --additional-controllers="nodeWatcher,decomission"

vectorizedControllers:
  enabled: false

monitoring:
  enabled: true

bincyber avatar Sep 15 '25 11:09 bincyber

Hi! I'd like to work on this issue. I can see the ServiceMonitor is missing an Annotations field in servicemonitor.go. I'll investigate and submit a fix. Can I take this on? Thanks!

ArsalanAnwer0 avatar Oct 01 '25 19:10 ArsalanAnwer0

Hi! I'd like to work on this issue. I can see the ServiceMonitor is missing an Annotations field in servicemonitor.go. I'll investigate and submit a fix. Can I take this on? Thanks!

Yes, please go for it!

bincyber avatar Dec 08 '25 12:12 bincyber