Skip to content

[BUG] CRDs too big for ArgoCD, adding annotation to CRDs would be an easy fix #2341

@RangelReale

Description

@RangelReale

Pre-submission Checklist

  • I have searched existing issues and this is not a duplicate
  • This is a Helm chart issue, not a Datadog product/service problem

Helm chart name

datadog-operator

Helm chart version

2.17

Bug Report

What happened:
When applying the the Datadog Operator helm chart using Argo, I get this error: "metadata.annotations: oo long: must have at most 262144 bytes" on CRDs.

What I expected:
Chart being applied, like it was in 2.16.

Steps to Reproduce

No response

Environment

Kubernetes version:
Helm version:
Cloud provider:

Additional Context

If the CRD helm chart had a way of adding annotations to all yaml files, an easy fix would be to add this configuration:

datadogCRDs:
    annotations:
      argocd.argoproj.io/sync-options: ServerSideApply=true

instead of making the whole Argo application ServerSideApply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions