Skip to content

Commit

Permalink
Use resources from Values file in rbac proxy container (#224)
Browse files Browse the repository at this point in the history
* Use resources from Values file in rbac proxy container

Signed-off-by: Gilberto Mautner <[email protected]>

* Uncomment rbacProxy resources

Signed-off-by: Gilberto Mautner <[email protected]>

* Brackets do not apply after uncommenting

Signed-off-by: Gilberto Mautner <[email protected]>

---------

Signed-off-by: Gilberto Mautner <[email protected]>
  • Loading branch information
gmautner authored Aug 15, 2024
1 parent aae4810 commit 00c8ba3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
7 changes: 1 addition & 6 deletions charts/dragonfly-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ spec:
name: https
protocol: TCP
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 64Mi
{{- toYaml .Values.rbacProxy.resources | nindent 12 }}

- name: manager
args:
Expand Down
14 changes: 7 additions & 7 deletions charts/dragonfly-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ rbacProxy:
# Overrides the image tag whose default is the chart appVersion.
tag: v0.13.1

resources: {}
# limits:
# cpu: 500m
# memory: 128Mi
# requests:
# cpu: 10m
# memory: 64Mi
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 10m
memory: 64Mi

securityContext:
allowPrivilegeEscalation: false
Expand Down

0 comments on commit 00c8ba3

Please sign in to comment.