Skip to content

An error is reported when OpenObserve-Collector Helm is installed #129

@haerr

Description

@haerr

helm --namespace openobserve-collector \

install o2c /apps/openobserve-collector
--set k8sCluster=cluster1
--set exporters."otlphttp/openobserve".endpoint=https://XXXXXXXXXXXXXXXX
--set exporters."otlphttp/openobserve".headers.Authorization="XXXXXXXXXXXXX"
--set exporters."otlphttp/openobserve_k8s_events".endpoint=https://XXXXXXXXXXXt
--set exporters."otlphttp/openobserve_k8s_events".headers.Authorization="XXXXXXXXXXXXXXXXXXXXX"
--debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: /apps/openobserve-collector

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec
helm.go:81: [debug] error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec
helm.sh/helm/v3/pkg/kube.scrubValidationError
helm.sh/helm/v3/pkg/kube/client.go:596
helm.sh/helm/v3/pkg/kube.(*Client).Build
helm.sh/helm/v3/pkg/kube/client.go:189
helm.sh/helm/v3/pkg/action.(*Install).Run
helm.sh/helm/v3/pkg/action/install.go:263
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:242
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:120
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:960
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:897
main.main
helm.sh/helm/v3/cmd/helm/helm.go:80
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
unable to build kubernetes objects from release manifest
helm.sh/helm/v3/pkg/action.(*Install).Run
helm.sh/helm/v3/pkg/action/install.go:265
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:242
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:120
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:960
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:897
main.main
helm.sh/helm/v3/cmd/helm/helm.go:80
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec

openobserve-collector version 0.3.22

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