Skip to content

Commit

Permalink
Include arg in deployment (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: roy_fuel <[email protected]>
  • Loading branch information
deekerno and rfuelsh authored Apr 24, 2024
1 parent 89b5f4c commit 4da6c78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/fuel-subgraph/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: [ "./app/start.sh" ]
args: ['{{ .Values.app.chain_id }}']
env:
- name: CHAIN_ID
value: "beta-5.fuel.network"
value: {{ .Values.app.chain_id }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
1 change: 1 addition & 0 deletions helm/fuel-subgraph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ tolerations: []
affinity: {}

app:
chain_id: example.network
volume:
storageclass: gp3-generic
accessmodes: ReadWriteOnce
Expand Down

0 comments on commit 4da6c78

Please sign in to comment.