You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for this great operator! The otel-collector sidecar and deployment seem to work fine with some more restrictive securityContext settings, and I'd like to propose adding documentation to describe how to implement this, as these changes would be especially relevant for people running in a restricted environment, such as OpenShift.
Since changing the defaults would be a breaking change, the safest option would be a doc-only change describing how this can be done. However, I think using more restrictive defaults would be a nice future change.
I'm happy to open a PR to add these docs, if you would be amenable. Please point me to the appropriate place to document this and any tests that I should update.
Thanks for considering this!
These are the settings I'm using for sidecars:
apiVersion: opentelemetry.io/v1alpha1kind: OpenTelemetryCollectorspec:
mode: sidecarsecurityContext:
runAsUser: 10001# we use this in our environment, but should omit this for better compatibility with OpenShift, in which case clusters will inherit from the image USERrunAsNonRoot: trueallowPrivilegeEscalation: falsereadOnlyRootFilesystem: trueseccompProfile:
type: RuntimeDefaultcapabilities:
drop:
- ALL
And these are the settings I'm using for the deployment:
Hello there,
Thanks so much for this great operator! The otel-collector sidecar and deployment seem to work fine with some more restrictive securityContext settings, and I'd like to propose adding documentation to describe how to implement this, as these changes would be especially relevant for people running in a restricted environment, such as OpenShift.
Since changing the defaults would be a breaking change, the safest option would be a doc-only change describing how this can be done. However, I think using more restrictive defaults would be a nice future change.
I'm happy to open a PR to add these docs, if you would be amenable. Please point me to the appropriate place to document this and any tests that I should update.
Thanks for considering this!
These are the settings I'm using for sidecars:
And these are the settings I'm using for the deployment:
See also:
The text was updated successfully, but these errors were encountered: