Skip to content

Helm template missing API Version and Kind in volumeClaimTemplates in Statefulsets causing ArgoCD to never be synced #3952

Description

@leonardov-bs

Using ArgoCD (v2.13.2) to install Sumologic in an EKS cluster (v1.30) using the official chart (v4.13.0) causes the application to never be in sync because the current chart does not add kind nor apiVersion to volumeClaimTemplates to statefulsets (otelcol-events and otelcol-logs)
The cluster will automatically add this fields to the created object, creating an a drift impossible to fix, expect with Argo's ignoreDifferences, which is not ideal.

Current deployed state:

 volumeClaimTemplates:
  - apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:

Desired state by ArgoCD:

 volumeClaimTemplates:
  - metadata:

The chart should add the fields kind and apiVersion to the volumeClaimTemplates helm template, so sumologic can show as synced on ArgoCD without the ignore clause.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions