Skip to content

bug: CRDs duplicated in the Helm chart repo #1709

@MariusGrandeAndersen

Description

@MariusGrandeAndersen

Describe the issue

I install fluent-operator using a chart dependency like this

dependencies:
  - name: fluent-operator
    version: 3.4.2
    repository: https://fluent.github.io/helm-charts

I see in ArgoCD warnings that the CRDs are duplicated

RepeatedResourceWarning
Resource apiextensions.k8s.io/CustomResourceDefinition//clusterfilters.fluentbit.fluent.io appeared 2 times among application resources. 

To Reproduce

Steps to reproduce:

helm pull fluent/fluent-operator --version 3.4.2
tar -tf fluent-operator-3.4.2.tgz | grep "fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml"

Expected behavior

Expected result:
1 fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml file
Current result:
2 fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml files

This is only an issue in the helm chart repository, the github releases .tar file does not have this issue.

Your Environment

- Fluent Operator version: 3.4.2
- Container Runtime: containerd 1.7.28-1
- Operating system: Ubuntu 22.04.5 LTS (AKS)
- Kernel version: 5.15.0-1092-azure

How did you install fluent operator?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions