Skip to content

feat(helm): Allow configuration of probe timeouts in Helm Chart#2220

Merged
sozercan merged 3 commits into
open-policy-agent:masterfrom
ethanrange:chart_probe_timeouts
Aug 12, 2022
Merged

feat(helm): Allow configuration of probe timeouts in Helm Chart#2220
sozercan merged 3 commits into
open-policy-agent:masterfrom
ethanrange:chart_probe_timeouts

Conversation

@ethanrange
Copy link
Copy Markdown
Contributor

@ethanrange ethanrange commented Aug 9, 2022

Signed-off-by: Ethan Range 65268454+ethanrange@users.noreply.github.com

What this PR does / why we need it: This PR allows for the timeouts for the Readiness and Liveness probes for the Gatekeeper controller and auditor to be adjusted through the Helm Chart.

Special notes for your reviewer:
N/A

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

Hi, does someone have a bit of time to review this? Would be super useful.
Defaulting to 1s liveness checks makes Gatekeeper restart in our cluster when on a heavily saturated node.

Copy link
Copy Markdown
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 11, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.53%. Comparing base (d14c0da) to head (5f54806).
Report is 849 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2220      +/-   ##
==========================================
+ Coverage   54.33%   54.53%   +0.20%     
==========================================
  Files         111      111              
  Lines        9538     9538              
==========================================
+ Hits         5182     5202      +20     
+ Misses       3956     3941      -15     
+ Partials      400      395       -5     
Flag Coverage Δ
unittests 54.53% <ø> (+0.20%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
@ethanrange ethanrange force-pushed the chart_probe_timeouts branch from 27205b2 to 5f54806 Compare August 11, 2022 14:15
@ethanrange
Copy link
Copy Markdown
Contributor Author

ethanrange commented Aug 11, 2022

Not sure what exactly is breaking the linter - gofmt fixed up some whitespace in replacements.go so I'm hoping it's that.

Update: Confirmed linter passes locally

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

@sozercan sozercan merged commit b6c369b into open-policy-agent:master Aug 12, 2022
maxsmythe pushed a commit to davis-haba/gatekeeper that referenced this pull request Aug 17, 2022
…-policy-agent#2220)

* feat(helm): Allow configuration of probe timeouts in Helm Chart

Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>

* Fix whitepace in replacements.go

Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>

Signed-off-by: Ethan Range <65268454+ethanrange@users.noreply.github.com>
Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
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