fix: add empty dir for /.ratify to allow nonroot directory permission#2514
Closed
fseldow wants to merge 1 commit into
Closed
fix: add empty dir for /.ratify to allow nonroot directory permission#2514fseldow wants to merge 1 commit into
fseldow wants to merge 1 commit into
Conversation
Signed-off-by: xinhl <xinhl@microsoft.com>
There was a problem hiding this comment.
Pull request overview
Updates the Ratify Gatekeeper Provider Helm chart to support running with a read-only root filesystem / non-root user by ensuring a writable /.ratify directory is available via a pod volume.
Changes:
- Mount a new
emptyDirvolume at/.ratifyin the Gatekeeper Provider Deployment. - Bump the Helm chart
versionandappVersionto2.0.1-dev.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| deployments/ratify-gatekeeper-provider/templates/deployment.yaml | Adds an emptyDir volume and mounts it at /.ratify to provide a writable directory. |
| deployments/ratify-gatekeeper-provider/Chart.yaml | Bumps chart metadata version fields. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| version: 2.0.0-dev | ||
| appVersion: "2.0.0-dev" | ||
| version: 2.0.1-dev | ||
| appVersion: "2.0.1-dev" |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2514 +/- ##
==========================================
- Coverage 77.15% 77.10% -0.05%
==========================================
Files 105 105
Lines 4657 4657
==========================================
- Hits 3593 3591 -2
- Misses 916 917 +1
- Partials 148 149 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Which issue(s) does this PR resolve?
Fixes #
Type of change
mainbranch)Testing and verification
Checklist
Post merge requirements
Helm Chart Change