File tree Expand file tree Collapse file tree 4 files changed +54
-1
lines changed
templates/substream-tier-1 Expand file tree Collapse file tree 4 files changed +54
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : firehose-ethereum
33description : A Helm chart for Kubernetes
44type : application
5- version : 1.6 .0
5+ version : 1.7 .0
66appVersion : geth-v1.16.5-fh3.0
77keywords :
88 - firehose
Original file line number Diff line number Diff line change 6363 volumeMounts :
6464 - name : config-volume
6565 mountPath : /config
66+ {{- range $values.components.substreams.extraConfigMaps }}
67+ - name : {{ .name }}
68+ mountPath : {{ .mountPath }}
69+ {{- end }}
6670 volumes :
6771 - name : config-volume
6872 configMap :
6973 name : {{ .Release.Name }}-{{ $componentName }}-config
74+ {{- range $values.components.substreams.extraConfigMaps }}
75+ - name : {{ .name }}
76+ configMap :
77+ name : {{ .name }}
78+ {{- end }}
7079{{- end }}
Original file line number Diff line number Diff line change 1+ {{- $values := $.Values.fullMode }}
2+ {{- $componentName := "substreams-tier-1" }}
3+ {{- $componentLabel := include "firehose-ethereum.componentLabelFor" $componentName }}
4+ {{- if and (eq .Values.mode "full") $values.components.substreams.enabled }}
5+ {{- range $values.components.substreams.extraConfigMaps }}
6+ {{- if .data }}
7+ ---
8+ apiVersion : v1
9+ kind : ConfigMap
10+ metadata :
11+ name : {{ .name }}
12+ labels :
13+ {{- include "firehose-ethereum.labels" $ | nindent 4 }}
14+ {{- $componentLabel | nindent 4 }}
15+ data :
16+ {{- toYaml .data | nindent 2 }}
17+ {{- end }}
18+ {{- end }}
19+ {{- end }}
20+
Original file line number Diff line number Diff line change @@ -224,6 +224,30 @@ fullMode:
224224 # name: my-configmap
225225 # key: config-key
226226
227+ # -- Extra ConfigMaps to mount as volumes
228+ # Each entry can either reference an existing configmap (name only)
229+ # or create a new one with data (name + data + mountPath)
230+ extraConfigMaps : []
231+ # Example 1: Mount an existing ConfigMap
232+ # - name: my-existing-config
233+ # mountPath: /extra-config
234+ #
235+ # Example 2: Create and mount a new ConfigMap with custom data
236+ # - name: my-json-config
237+ # mountPath: /config/json
238+ # data:
239+ # config.json: |
240+ # {
241+ # "key": "value",
242+ # "nested": {
243+ # "field": "data"
244+ # }
245+ # }
246+ # settings.json: |
247+ # {
248+ # "enabled": true
249+ # }
250+
227251 # -- Resource requests and limits for substreams tier 1
228252 resources : {}
229253 # limits:
You can’t perform that action at this time.
0 commit comments