Skip to content

Commit

Permalink
add crds resources pool to the crds container (#1621)
Browse files Browse the repository at this point in the history
* add crds resources pool to the crds container

Signed-off-by: Stanislav Chesnovskii <[email protected]>

* [~] manifests

Signed-off-by: Stanislav Chesnovskii <[email protected]>

Co-authored-by: Sertaç Özercan <[email protected]>
  • Loading branch information
chesnovskii and sozercan authored Oct 21, 2021
1 parent 6d6d266 commit 7526893
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/build/helmify/static/templates/upgrade-crds-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ spec:
- apply
- -f
- crds/
resources:
{{- toYaml .Values.crds.resources | nindent 10 }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 2 additions & 0 deletions cmd/build/helmify/static/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ audit:
requests:
cpu: 100m
memory: 256Mi
crds:
resources: {}
pdb:
controllerManager:
minAvailable: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ spec:
- apply
- -f
- crds/
resources:
{{- toYaml .Values.crds.resources | nindent 10 }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 2 additions & 0 deletions manifest_staging/charts/gatekeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ audit:
requests:
cpu: 100m
memory: 256Mi
crds:
resources: {}
pdb:
controllerManager:
minAvailable: 1
Expand Down

0 comments on commit 7526893

Please sign in to comment.