Repository navigation
test: set runAsUser and runAsGroup for object-store and s3-client - #1146
Merged
Merged
Conversation
…nitions
The object-store and s3-client deployments in hack/object-store set runAsNonRoot without a numeric
user, so the kubelet refuses to start them:
- object-store: the RustFS image names its user instead of giving a number ("image has non-numeric
user (rustfs), cannot verify user is non-root").
- s3-client: the AWS CLI image declares no user, which the kubelet treats as root ("image will run
as root").
Run object-store as the rustfs user and group defined by the image (10001:10001), and s3-client as
nobody (65534:65534), which the AWS CLI image already ships.
Closes: cloudnative-pg#1145
Signed-off-by: Gustavo William <gustavo.oliveira@enterprisedb.com>
NiccoloFei
approved these changes
Oct 7, 2026
litaocdl
approved these changes
Oct 8, 2026
mnencia
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The object-store and s3-client deployments in hack/object-store set runAsNonRoot without a numeric user, so the kubelet refuses to start them. The RustFS image names its user instead of giving a number ("image has non-numeric user (rustfs), cannot verify user is non-root"), and the AWS CLI image declares no user, which the kubelet treats as root ("image will run as root").
Run object-store as the rustfs user and group defined by the image (10001:10001), and s3-client as nobody (65534:65534), which the AWS CLI image already ships.
Closes #1145