-
Notifications
You must be signed in to change notification settings - Fork 546
feat(collector): adds spec.hostPID for all collector modes #4280
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
base: main
Are you sure you want to change the base?
feat(collector): adds spec.hostPID for all collector modes #4280
Conversation
bundle/community/manifests/opentelemetry.io_targetallocators.yaml
Outdated
Show resolved
Hide resolved
This adds the field `hostPID boolean` field to the different modes of the collector PodSpec template. - adds hostPID to collector, - adjusts daemonset, deplotment, statefulsets to allow setting hostPID Inspiration for the code follows from the functionality of the `hostNetwork boolean` field --------- on-behalf-of: @SAP Simon Olander ([email protected])
- adds unit and e2e tests - adds .chloggen entry --------- on-behalf-of: @SAP Simon Olander ([email protected])
--------- on-behalf-of: @SAP Simon Olander ([email protected])
4751e3d
to
a732ae0
Compare
fields in v1beta1/common.go area for all component types. for now the hostPID support is only for the collector --------- on-behalf-of: @SAP Simon Olander ([email protected])
newName: docker.io/pavolloffay/opentelemetry-operator | ||
newTag: dev-e6d96f00-1755261473 | ||
newName: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator | ||
newTag: 0.131.0-36-ga732ae06 |
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.
Also the auto-gen overwriting stuff from #4287. Should this docker image be used or is the auto-gen correct? cc @pavolloffay?
newName: docker.io/pavolloffay/opentelemetry-operator | ||
newTag: dev-e6d96f00-1755261473 | ||
newName: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator | ||
newTag: 0.131.0-36-ga732ae06 |
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.
newTag: 0.131.0-36-ga732ae06 | |
newTag: 0.131 |
Oh I guess that should be correct.
Description:
At the moment it is not possible to set the
spec.hostPID
field for the collector (regardless of type). This change adds a featuregateoperator.security.hostpid
that allows a user to configure thespec.hostPID
field for the collector.Inspiration for the code follows from the functionality of the
hostNetwork boolean
fieldLink to tracking Issue(s): 4214
Testing:
Documentation:
Autogenerated docs from the type defs.
on-behalf-of: @SAP Simon Olander ([email protected])