diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ac67637..fc13f600 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Reconcile clusters when the observability bundle version changes. +### Fixed + +- Disable crd installation from grafana agent as this is causing issues with the new v29 releases. + ## [0.14.0] - 2024-10-29 ### Changed diff --git a/pkg/resource/grafana-agent-config/grafana-agent-config.go b/pkg/resource/grafana-agent-config/grafana-agent-config.go index ba49997c..65c1f582 100644 --- a/pkg/resource/grafana-agent-config/grafana-agent-config.go +++ b/pkg/resource/grafana-agent-config/grafana-agent-config.go @@ -30,6 +30,7 @@ type values struct { type grafanaAgent struct { Agent agent `yaml:"agent" json:"agent"` Controller controller `yaml:"controller" json:"controller"` + CRDs crds `yaml:"crds" json:"crds"` } type agent struct { @@ -45,6 +46,10 @@ type controller struct { Type ControllerType `yaml:"type" json:"type"` } +type crds struct { + Create bool `yaml:"create" json:"create"` +} + // ConfigMeta returns metadata for the grafana-agent-config func ConfigMeta(lc loggedcluster.Interface) metav1.ObjectMeta { metadata := metav1.ObjectMeta{ @@ -109,6 +114,9 @@ loki.write "default" { Replicas: 1, Type: deployment, }, + CRDs: crds{ + Create: false, + }, }, }