VictoriaMetrics / operator

Kubernetes operator for Victoria Metrics
Apache License 2.0
410 stars 141 forks source link

removed run as user from kustomize #1028

Closed AndrewChubatiuk closed 3 weeks ago

AndrewChubatiuk commented 3 weeks ago

https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4752#discussion_r1668891562

tenmozes commented 3 weeks ago

but why? if we can run from non root everywhere i would rather to do that

AndrewChubatiuk commented 3 weeks ago

it's how it used to be before. pod has runAsNonRoot set to true and now it's running as user defined in a docker image. adding runAsUser set to a static uid breaks an ability to run it on openshift without openshift specific SecurityContextConstraints resource, which is not possible to test locally at the moment