grafana / grafana-operator

An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
https://grafana.github.io/grafana-operator/
Apache License 2.0
908 stars 396 forks source link

fix(flux): maintain a copy of CRDs and the ClusterRole in deploy/kustomize/base #1562

Closed weisdd closed 5 months ago

weisdd commented 5 months ago

When Flux publishes an artifact to OCI, it's just a copy of a folder structure. Thus, kustomization.yaml cannot reference files that reside outside of deploy/kustomize. To workaround that, unfortunately, we need to maintain an additional copy of CRDs and the ClusterRole.

Fixes: #1561