Skip to content

Commit

Permalink
bug: don't set default "requests" in Unleash Edge chart values.yaml (#…
Browse files Browse the repository at this point in the history
…122)

* bug: don't set default "requests" in Unleash Edge chart values.yaml

setting up default "requests" makes it impossible to omit certain portions of "requests"
in local values.yaml file, e.g. not setting resources.limits.cpu is impossible

* updated unleash-edge chart version to reflect default requests removal

---------

Co-authored-by: m-barczyk <[email protected]>
  • Loading branch information
mbarczyk and m-barczyk authored Dec 21, 2023
1 parent 4cd3a4a commit 4fa860d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/unleash-edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: unleash-edge
description: A Helm chart for deploying Unleash Edge to kubernetes
icon: https://docs.getunleash.io/img/logo.svg
type: application
version: 2.2.2
version: 2.2.3

appVersion: "v16.0.6"
maintainers:
Expand Down
17 changes: 11 additions & 6 deletions charts/unleash-edge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,17 @@ service:
nodePort: ""

resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 200m
memory: 64Mi
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# requests:
# cpu: 100m
# memory: 64Mi
# limits:
# cpu: 200m
# memory: 64Mi

ingress:
enabled: false
Expand Down

0 comments on commit 4fa860d

Please sign in to comment.