Skip to content

test: set runAsUser and runAsGroup in object-store and s3-client definitions - #1146

Open
gustabowill wants to merge 1 commit into
cloudnative-pg:mainfrom
gustabowill:dev/1145
Open

gustabowill wants to merge 1 commit into
cloudnative-pg:mainfrom
gustabowill:dev/1145

Conversation

@gustabowill

Copy link
Copy Markdown

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: #1145

@gustabowill
gustabowill requested a review from a team as a code owner October 5, 2026 16:25
…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>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object store definition missing runAsUser and runAsGroup

2 participants