Skip to content

feat(helm): Allow setting annotations for mutating and validating webhook configurations#2231

Merged
ritazh merged 5 commits into
open-policy-agent:masterfrom
ethanrange:webhook_config_annotations
Aug 20, 2022
Merged

feat(helm): Allow setting annotations for mutating and validating webhook configurations#2231
ritazh merged 5 commits into
open-policy-agent:masterfrom
ethanrange:webhook_config_annotations

Conversation

@ethanrange
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): This PR allows for the annotations for the MutatingWebhookConfiguration and ValidatingWebhookConfiguration to be set through the chart. Allows for certificate injection with cert-manager (See https://cert-manager.io/docs/concepts/ca-injector/)

Special notes for your reviewer:
N/A

Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 17, 2022

Codecov Report

Merging #2231 (0fe024c) into master (5b2e84e) will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2231      +/-   ##
==========================================
+ Coverage   54.33%   54.43%   +0.10%     
==========================================
  Files         111      111              
  Lines        9538     9538              
==========================================
+ Hits         5182     5192      +10     
+ Misses       3956     3949       -7     
+ Partials      400      397       -3     
Flag Coverage Δ
unittests 54.43% <ø> (+0.10%) ⬆️

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

Impacted Files Coverage Δ
pkg/readiness/object_tracker.go 83.98% <0.00%> (+1.06%) ⬆️
...onstrainttemplate/constrainttemplate_controller.go 57.55% <0.00%> (+1.67%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ethanmwam
Copy link
Copy Markdown

Hi, if anyone has a chance to review this that'd be great. Thanks :)

Copy link
Copy Markdown
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

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.

6 participants