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: Ability to use Image SHA for gatekeeper and gatekeeper-crd images #1759
Conversation
…open-policy-agent#1674 This commit checks if image.release is defined in the values.yaml if not defined it will ignore the image.release field and only use the values of image.repository and image.crdRepository to set the "image" in gatekeeper audit /controller deployment yamls. With the current implementation there is only one field defined "image.release" which restrics the use of image-tag:release and not allowing SHA along with "image"(e.g image@SHA) for GK and GK-CRD repository Signed-off-by: Priya Shet priya.shet@gmail.com Signed-off-by: Priya Shetpriya.shet@gmail.com <priya.shet@gmail.com>
@sozercan , i had to resubmit the PR due to github branch merge issue, Please let me know your feedback on this PR. thank you for your time. |
Codecov Report
@@ Coverage Diff @@
## master #1759 +/- ##
==========================================
+ Coverage 51.96% 52.14% +0.18%
==========================================
Files 98 98
Lines 8781 8781
==========================================
+ Hits 4563 4579 +16
+ Misses 3852 3837 -15
+ Partials 366 365 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
helm upgrade is failing due to k8s version bump, opened a fix in #1766 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the delay. LGTM
Thank you so much @sozercan for the review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… Gatekeeper helm charts #1659
This commit checks if image.release is defined in the values.yaml
if not defined it will ignore the image.release field and only use the values of
image.repository and image.crdRepository to set the "image" in gatekeeper audit /controller
deployment yamls.
With the current implementation there is only one field defined "image.release" which restrics the use of
image-tag:release and not allowing SHA along with "image"(e.g image@SHA) for GK and GK-CRD repository
Signed-off-by: Priya Shet priya.shet@gmail.com
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, using fixes #1659 (, fixes #1659) format, will close the issue(s) when the PR gets merged):
Fixes #1659
Special notes for your reviewer: