diff --git a/apis/v1alpha1/opentelemetrycollector_types.go b/apis/v1alpha1/opentelemetrycollector_types.go index 1647ca54a9..998f49ae84 100644 --- a/apis/v1alpha1/opentelemetrycollector_types.go +++ b/apis/v1alpha1/opentelemetrycollector_types.go @@ -174,7 +174,7 @@ type OpenTelemetryCollectorSpec struct { // ImagePullPolicy indicates the pull policy to be used for retrieving the container image (Always, Never, IfNotPresent) // +optional ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"` - // Config is the raw JSON to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details. + // Config is the raw YAML to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details. // +required Config string `json:"config,omitempty"` // VolumeMounts represents the mount points to use in the underlying collector deployment(s) diff --git a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml index 95192f9395..2883192bf6 100644 --- a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml +++ b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml @@ -2239,7 +2239,7 @@ spec: type: integer type: object config: - description: Config is the raw JSON to be used as the collector's + description: Config is the raw YAML to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details. type: string diff --git a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml index 4c16042603..9924a8c948 100644 --- a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml +++ b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml @@ -2236,7 +2236,7 @@ spec: type: integer type: object config: - description: Config is the raw JSON to be used as the collector's + description: Config is the raw YAML to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details. type: string diff --git a/docs/api.md b/docs/api.md index 259cf829ea..73f12f5f0a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -10312,7 +10312,7 @@ for the OpenTelemetryCollector workload.
config string - Config is the raw JSON to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details.
+ Config is the raw YAML to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details.
false