Skip to content

Commit

Permalink
Adds min and max to LimitRange
Browse files Browse the repository at this point in the history
  • Loading branch information
emoreth committed Aug 21, 2024
1 parent 6c76649 commit 32fe9c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,14 @@
"type": "object",
"description": "DefaultRequest are the default request options for the limit range"
},
"max": {
"type": "object",
"description": "Min are the min limits for the limit range"
},
"min": {
"type": "object",
"description": "Max are the max limits for the limit range"
},
"annotations": {
"additionalProperties": {
"type": "string"
Expand Down
6 changes: 5 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,11 @@ policies:
ephemeral-storage: 3Gi
memory: 128Mi
cpu: 100m

# Max are the max limits for the limit range
max: {}
# Min are the min limits for the limit range
min: {}

# NetworkPolicy specifies network policy options.
networkPolicy:
# Enabled defines if the network policy should be deployed by vCluster.
Expand Down

0 comments on commit 32fe9c1

Please sign in to comment.