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

Adding securityContext configuration to flyte-core charts #4895

Conversation

neilisaur
Copy link
Contributor

@neilisaur neilisaur commented Feb 13, 2024

Tracking issue

Closes #4893

Why are the changes needed?

Without chart modifications, we are unable to deploy the flyte-core chart into OpenShift environments or other k8s environments that do not allow specification of user IDs.

What changes were proposed in this pull request?

Adds ability to override securityContext in Helm chart deployment for flyteadmin, flyteconsole, datacatalog, flytepropeller, and flytescheduler.

How was this patch tested?

Deployed in an on-prem environment.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request labels Feb 13, 2024
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fe1204c) 58.97% compared to head (89c30c9) 58.97%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4895   +/-   ##
=======================================
  Coverage   58.97%   58.97%           
=======================================
  Files         645      645           
  Lines       55162    55162           
=======================================
  Hits        32532    32532           
  Misses      20055    20055           
  Partials     2575     2575           
Flag Coverage Δ
unittests 58.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@davidmirror-ops davidmirror-ops left a comment

Choose a reason for hiding this comment

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

Thanks!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 13, 2024
@davidmirror-ops
Copy link
Contributor

@neilisaur to fix the generate_helm test failure, you should be able to run make helm from the root of your fork and then push the changes

Signed-off-by: Neil Stout <[email protected]>
Copy link
Contributor

@davidmirror-ops davidmirror-ops left a comment

Choose a reason for hiding this comment

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

Thank you!

@davidmirror-ops davidmirror-ops merged commit 57e21f8 into flyteorg:master Feb 14, 2024
51 checks passed
Copy link

welcome bot commented Feb 14, 2024

Congrats on merging your first pull request! 🎉

katrogan pushed a commit that referenced this pull request Feb 20, 2024
* Adding securityContext configuration to flyte-core charts

Signed-off-by: Neil Stout <[email protected]>

* Removing S3 endpoint location

Signed-off-by: Neil Stout <[email protected]>

* Updates from make helm

Signed-off-by: Neil Stout <[email protected]>

---------

Signed-off-by: Neil Stout <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
)

* Adding securityContext configuration to flyte-core charts

Signed-off-by: Neil Stout <[email protected]>

* Removing S3 endpoint location

Signed-off-by: Neil Stout <[email protected]>

* Updates from make helm

Signed-off-by: Neil Stout <[email protected]>

---------

Signed-off-by: Neil Stout <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Cannot override securityContext in flyte-core deployments
3 participants