Skip to content

alloy-operator does not install alloy's CRD #45

@bmailhe

Description

@bmailhe

Hi team,

I noticed that the alloy-crd chart (https://github.com/grafana/alloy-operator/tree/main/charts/alloy-crd) does not install the CRDs when used as a dependency in another Helm chart (alloy-operator).

This is due to the way Helm handles CRDs: the contents of the crds/ directory are only installed when the chart is the primary chart being installed, and not when it is included as a dependency.

Expected behavior:

When using alloy-crd as a dependency in another chart, I would expect the CRDs to be automatically installed as part of the Helm deployment, manual CRD installation is not an idempotent way to do.

Actual behavior:

When alloy-crd is included as a dependency, Helm does not install the CRDs from the crds/ directory. This can lead to failed deployments or missing resources.

Consider providing an installation script or Helm post-install hook as a workaround for users who wish to automate CRD installation.

Thanks!

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