Skip to content

Commit c07dc28

Browse files
jroperpavolloffay
authored andcommitted
Update OpenTelemetryCollectorSpec.Config docs
The Config field contains YAML, not JSON.
1 parent 95586ff commit c07dc28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/v1alpha1/opentelemetrycollector_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ type OpenTelemetryCollectorSpec struct {
174174
// ImagePullPolicy indicates the pull policy to be used for retrieving the container image (Always, Never, IfNotPresent)
175175
// +optional
176176
ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
177-
// Config is the raw JSON to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details.
177+
// Config is the raw YAML to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details.
178178
// +required
179179
Config string `json:"config,omitempty"`
180180
// VolumeMounts represents the mount points to use in the underlying collector deployment(s)

0 commit comments

Comments
 (0)