Skip to content

Commit 5afd542

Browse files
fix: remove root resources definition
Signed-off-by: Overcooked Panda <overcookedpanda@blinklabs.io>
1 parent 7c29c03 commit 5afd542

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

charts/handshake-node/templates/_helpers.tpl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ Define resource requirements based on network
8484
*/}}
8585
{{- define "handshake-node.resources" -}}
8686
{{- $network := include "handshake-node.network" . -}}
87-
{{- if .Values.resources -}}
88-
{{- toYaml .Values.resources -}}
89-
{{- else -}}
90-
{{- toYaml (index .Values.networkResources $network) -}}
91-
{{- end -}}
87+
{{ toYaml (index .Values.networkResources $network) }}
9288
{{- end -}}
9389

9490
{{/*

charts/handshake-node/values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ nodeConfig:
103103
rsHost: "0.0.0.0"
104104
rsNoUnbound: false
105105

106-
# Override default network resources if needed
107-
resources: {}
108-
109106
# Service configurations
110107
service:
111108
tcp:

0 commit comments

Comments
 (0)