Skip to content
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

feat: add runAsUser and runAsGroup to executor #632

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

Chickensoupwithrice
Copy link
Contributor

@Chickensoupwithrice Chickensoupwithrice commented Feb 3, 2025

The start of a resolution for REL-690.
Need to test this out to see how it works. There are sample overrides in this thread

Checklist

Test plan

Run the example overrides from the thread and see if the executor runs and doesn't fail. In particular we want a named user that is not privileged.

@Chickensoupwithrice Chickensoupwithrice requested review from marcleblanc2 and a team February 5, 2025 19:08
@Chickensoupwithrice Chickensoupwithrice force-pushed the al/REL-690/add-run-as-user-executor branch from ac67495 to 893551c Compare February 11, 2025 21:56
@Chickensoupwithrice Chickensoupwithrice marked this pull request as ready for review February 11, 2025 22:11
Copy link
Contributor

@jdpleiness jdpleiness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcleblanc2 please run this through in your test cluster to make sure it meets the requirements.

Approving for now though as it looks good from here.

@Chickensoupwithrice Chickensoupwithrice merged commit 45e5817 into main Feb 18, 2025
9 checks passed
@Chickensoupwithrice Chickensoupwithrice deleted the al/REL-690/add-run-as-user-executor branch February 18, 2025 21:57
Chickensoupwithrice added a commit that referenced this pull request Feb 19, 2025
The start of a resolution for
[REL-690](https://linear.app/sourcegraph/issue/REL-690/add-runasuser-runasgroup-fsgroup-to-executor-helm-chart).
Need to test this out to see how it works. There are sample overrides in
[this
thread](https://sourcegraph.slack.com/archives/C0418GDBT7S/p1738581012896529?thread_ts=1738580801.517539&cid=C0418GDBT7S)

### Checklist

- [x] Follow the [manual testing
process](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/TEST.md)
- [ ] Update
[changelog](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/CHANGELOG.md)
- [ ] Update [Kubernetes update
doc](https://docs.sourcegraph.com/admin/updates/kubernetes)

### Test plan
Run the example overrides from the thread and see if the executor runs
and doesn't fail. In particular we want a _named_ user that is not
privileged.

 <br> Backport 45e5817 from #632

Co-authored-by: Anish Lakhwara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants