release-0.48: apps: bump gatekeeper to v3.18.3#2782
release-0.48: apps: bump gatekeeper to v3.18.3#2782kristiangronas wants to merge 1 commit intoelastisys:release-0.48from
Conversation
|
Hi @kristiangronas, thank you for contributions! Could you move this to fix it on main instead? I'll be sure to add tasks for us to create patch releases with the fix for our supported versions. Also as a workaround since the introduction of the image list in v0.48 you can override the image version of Gatekeeper through config until it is in a release: # common-config.yaml
images:
gatekeeper:
image: docker.io/openpolicyagent/gatekeeper:v3.18.3
preInstallCRDs: docker.io/openpolicyagent/gatekeeper-crds:v3.18.3
postInstallLabelNamespace: docker.io/openpolicyagent/gatekeeper-crds:v3.18.3 |
|
For main/0.50 i wanted to upgrade to 3.20 or 3.19, does that make sense? |
Yes, but please do the minor bump first, we'll reference the commit. |
|
Looking closer they never backported open-policy-agent/gatekeeper@266f7b0 which is what i'm actually hitting (helm is deleting the secret containing the oldest release), although apparently it's not directly crashing the pod, but it was running out of memory when it happened So bumping to 3.18.3 is probably not needed after all, it's fixed in 3.19.3 at least, but that should probably go in 0.50. Otherwise maybe we should increase the memory limit or play with GOMEMLIMIT? Have you been seeing gatekeeper run out of memory? (i was running helmfile sync a lot) |
Yes on the memory limit for the controller, for larger environments and a lot of actions that revolve around the use of Gatekeepers CRDs and resources that is subject to them. |
Warning
This is a public repository, ensure not to disclose:
What kind of PR is this?
Required: Mark one of the following that is applicable:
Optional: Mark one or more of the following that are applicable:
Important
Breaking changes should be marked
kind/admin-changeorkind/dev-changedepending on typeCritical security fixes should be marked with
kind/securityWhat does this PR do / why do we need this PR?
open-policy-agent/gatekeeper#3743 would sometimes cause gatekeeper to crash when running helmfile
Information to reviewers
Checklist