fluent / fluent/fluent-operator

bug: CRDs duplicated in the Helm chart repo

Open
#1,709 4 comments 4 reactions 0 assignees View on GitHub
bug helm chart
Dominant language
Go
Stars
682
Forks
328
Avg merge
2d 23h
Merged PRs (30d)
13

Description

### Describe the issue

I install fluent-operator using a chart dependency like this

```yaml
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

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

### To Reproduce

Steps to reproduce:

```bash
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

```markdown
- 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.