mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 00:31:32 -03:00
move resources section
This commit is contained in:
@@ -8,7 +8,7 @@ objectData: The object data to be used to render the container.
|
||||
{{- $rootCtx := .rootCtx -}}
|
||||
{{- $objectData := .objectData -}}
|
||||
|
||||
{{- $resources := $rootCtx.Values.containerOptions.resources -}}
|
||||
{{- $resources := $rootCtx.Values.resources -}}
|
||||
|
||||
{{- if $objectData.resources -}}
|
||||
{{- $resources = mustMergeOverwrite $resources $objectData.resources -}}
|
||||
|
||||
@@ -87,17 +87,17 @@ securityContext:
|
||||
supplementalGroups: []
|
||||
sysctls: []
|
||||
|
||||
# -- Resources
|
||||
# Can be overruled per container
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 8Gi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
|
||||
containerOptions:
|
||||
# -- Resources
|
||||
# Can be overruled per container
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 8Gi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
# -- PUID for all containers
|
||||
# Can be overruled per container
|
||||
PUID: 568
|
||||
|
||||
Reference in New Issue
Block a user