mariadb-operator/mariadb-operator

[Bug] error: unknown field "spec.primaryService.annotations"

Closed this issue · 1 comments

Describe the bug

When setting annotations in service or primary / secondary Service this pops up:

  primaryService:
    type: LoadBalancer
    annotations:
      external-dns.alpha.kubernetes.io/hostname: mariadb-001-pri.ns.bla.local

-> strict decoding error: unknown field "spec.primaryService.annotations"

when using metadata like this:

  primaryService:
    type: LoadBalancer
    metadata:
      annotations:
        external-dns.alpha.kubernetes.io/hostname: mariadb-001-pri.ns.bla.local

it is applied but won't get applied to the service

Environment details:

  • Kubernetes version: 1.25
  • Kubernetes distribution: Vanilla
  • mariadb-operator version: 0.0.27
  • Install method: helm to static
  • Install flavor: helm template?

Hey there @blodone ! thanks for reporting

Sorry, the example manifests in main correspond to version v0.0.28, yet to be released.

This is fixed via #537 and will be shipped shortly with v0.0.28. Stay tuned and sorry for the inconvnience!