Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opentelemetry-operator]: featureGatesMap properties not allowed #1489

Closed
peske opened this issue Jan 12, 2025 · 3 comments · Fixed by #1490
Closed

[opentelemetry-operator]: featureGatesMap properties not allowed #1489

peske opened this issue Jan 12, 2025 · 3 comments · Fixed by #1490
Labels
bug Something isn't working chart:operator Issue related to opentelemetry-operator helm chart

Comments

@peske
Copy link

peske commented Jan 12, 2025

I'm using opentelemetry-operator Helm chart version 0.78.1, and I have the following part in my values file:

manager:
  featureGatesMap:
    targetAllocatorMtls: false
    targetAllocatorCR: false
    targetAllocatorFallbackStrategy: false
    nativeSideCarContainers: false
    prometheusOperator: false
    golangFlags: true
    collectorDefaultConfig: false

When I try to export generated manifests to review them:

helm template -f ./10-otel/values.yaml opentelemetry-operator \
    open-telemetry/opentelemetry-operator --version 0.78.1 \
    --namespace otel-operator-system > ./temp.yaml

I'm getting the following error:

Error: values don't meet the specifications of the schema(s) in the following chart(s):
opentelemetry-operator:
- manager.featureGatesMap: Additional property collectorDefaultConfig is not allowed
- manager.featureGatesMap: Additional property golangFlags is not allowed
- manager.featureGatesMap: Additional property nativeSideCarContainers is not allowed
- manager.featureGatesMap: Additional property prometheusOperator is not allowed
- manager.featureGatesMap: Additional property targetAllocatorCR is not allowed
- manager.featureGatesMap: Additional property targetAllocatorFallbackStrategy is not allowed
- manager.featureGatesMap: Additional property targetAllocatorMtls is not allowed

Am I doing something wrong, or if there's a problem with the chart?

@TylerHelmuth TylerHelmuth added bug Something isn't working chart:operator Issue related to opentelemetry-operator helm chart labels Jan 13, 2025
@TylerHelmuth
Copy link
Member

I think there is a bug with the chart right now: #1481

@TylerHelmuth
Copy link
Member

Related #1463

@TylerHelmuth
Copy link
Member

@peske also in your scenario the keys need to match exactly to the feature gate name. Like

manager:
  featureGatesMap:
    operator.targetallocator.mtls: false
    operator.collector.targetallocatorcr: false
    operator.sidecarcontainers.native: true
    operator.observability.prometheus: false
    operator.golang.flags: true
    operator.collector.default.config: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:operator Issue related to opentelemetry-operator helm chart
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants