-
Notifications
You must be signed in to change notification settings - Fork 458
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
Update README.md #3559
base: main
Are you sure you want to change the base?
Update README.md #3559
Conversation
The FeatureGate needs to be set via `extraArgs` parameter of the Opentelemetry Operator. It's very hard to figure out the correct way.
It looks like you want to update the Helm Chart README here instead. The operator itself accepts a |
@@ -584,7 +584,7 @@ instrumentation.opentelemetry.io/inject-sdk: "true" | |||
|
|||
#### Controlling Instrumentation Capabilities | |||
|
|||
The operator allows specifying, via the flags, which languages the Instrumentation resource may instrument. | |||
The operator allows specifying, via the flags (`--set manager.extraArgs={"<Name-of-the-gate>=<Value>"}`), which languages the Instrumentation resource may instrument. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the operator it self it would look a bit different.
setup: "add-operator-arg OPERATOR_ARG='--feature-gates=operator.sidecarcontainers.native' prepare-e2e" |
Ok. May be I'm missing out something. I couldn't find how to pass this |
In the operator Helm Chart, you can use the |
I gave it a try.
OR like this
The default
With these set, no matter what I do, all I get is Additional property is not allowed |
You need to use the verbatim feature flag name. For example, if you want native sidecar containers: manager:
featureGatesMap:
operator.sidecarcontainers.native: true You can see the allowed values here. |
The operator (manager container) has crashed after installing the chart like this:
Error log:
|
The FeatureGate needs to be set via
extraArgs
parameter of the Opentelemetry Operator. It's very hard to figure out the correct way.Description:
Link to tracking Issue(s):
Testing:
Documentation: