Skip to content

chore: Change default user id and gid #1164

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lfrancke
Copy link
Member

Description

Part of stackabletech/issues#645
Part of stackabletech/issues#651

Note

This was already applied once before and later reverted.
It was merged prematurely back then but now the immediate parent issue has been done and it should be good to go again

Change default user id and gid to the same ones we use in the operators themselves.
These are only the defaults that are used when a Pod does not specify their own securityContext.runAsUser or runAsGroup.

All of our operators have been changed to not set the user and group id anymore which means they'll fall back to the values from the image.

Definition of Done Checklist

  • Changes are OpenShift compatible
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

@lfrancke lfrancke force-pushed the feat/update-default-uid-gid branch from 6e517d2 to 29694c6 Compare June 12, 2025 21:29
@lfrancke lfrancke self-assigned this Jun 12, 2025
@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Jun 12, 2025
@lfrancke lfrancke moved this from Development: Waiting for Review to Development: In Progress in Stackable Engineering Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant