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(helm): add securityContext and pull policy values to migration job #7652

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

Hexoplon
Copy link
Contributor

@Hexoplon Hexoplon commented Jan 9, 2025

Title

Add chart variables for migration job security context and image

In environments where Pod Security Admission is set to restrictive, and enforcement is enabled, the default security context policy of a pod will prevent it from running. The main pod deployment already allows for overriding the security context, this PR reuses the same security context settings for the migration job.

Relevant issues

N/A

Type

🚄 Infrastructure

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

Tested deployment in restrictive environment where default security context otherwise would fail.

Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 11:25am

@ishaan-jaff ishaan-jaff merged commit 801f450 into BerriAI:main Jan 15, 2025
1 check passed
krrishdholakia pushed a commit that referenced this pull request Jan 16, 2025
* feat(helm): add securityContext and pull policy values to migration job (#7652)

* fix(helm): corrected indentation in migration-job.yaml

* feat(helm): add securityContext and pull policy values to migration job

* fix confusing save button label (#7778)

* [integrations/lunary] Improve Lunary documentaiton (#7770)

* update lunary doc

* better title

* tweaks

* Update langchain.md

* Update lunary_integration.md

* Fix wrong URL for internal user invitation (#7762)

* format

* done

* Update instructor tutorial (#7784)

* Add in container structure tests for the nonroot image

---------

Co-authored-by: Zackeus Bengtsson <[email protected]>
Co-authored-by: yujonglee <[email protected]>
Co-authored-by: Hugues Chocart <[email protected]>
Co-authored-by: Nikolaiev Dmytro <[email protected]>
krrishdholakia added a commit that referenced this pull request Jan 16, 2025
* Add back in non root image fixes (#7781)

* Add back in non root image fixes

* Fix dockerfile

* Fix perms

* Add in container structure tests for the nonroot image (#7796)

* feat(helm): add securityContext and pull policy values to migration job (#7652)

* fix(helm): corrected indentation in migration-job.yaml

* feat(helm): add securityContext and pull policy values to migration job

* fix confusing save button label (#7778)

* [integrations/lunary] Improve Lunary documentaiton (#7770)

* update lunary doc

* better title

* tweaks

* Update langchain.md

* Update lunary_integration.md

* Fix wrong URL for internal user invitation (#7762)

* format

* done

* Update instructor tutorial (#7784)

* Add in container structure tests for the nonroot image

---------

Co-authored-by: Zackeus Bengtsson <[email protected]>
Co-authored-by: yujonglee <[email protected]>
Co-authored-by: Hugues Chocart <[email protected]>
Co-authored-by: Nikolaiev Dmytro <[email protected]>

---------

Co-authored-by: Rajat Vig <[email protected]>
Co-authored-by: Zackeus Bengtsson <[email protected]>
Co-authored-by: yujonglee <[email protected]>
Co-authored-by: Hugues Chocart <[email protected]>
Co-authored-by: Nikolaiev Dmytro <[email protected]>
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.

2 participants