Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion spartan/aztec-bot/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global:
aztecRollupVersion: "canonical"
aztecEnv:
ROLLUP_VERSION: "canonical"
aztecNetwork: ""
customAztecNetwork:
enabled: false
Expand Down
16 changes: 15 additions & 1 deletion spartan/aztec-node/templates/_pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ spec:
- secretRef:
name: {{ include "chart.fullname" . }}-env
{{- end }}
{{- range .Values.node.envFrom.configMaps }}
- configMapRef:
name: {{ tpl .name $ | quote }}
{{- if hasKey . "optional" }}
optional: {{ .optional }}
{{- end }}
{{- end }}
{{- range .Values.node.envFrom.secrets }}
- secretRef:
name: {{ tpl .name $ | quote }}
{{- if hasKey . "optional" }}
optional: {{ .optional }}
{{- end }}
{{- end }}
env:
- name: POD_IP
valueFrom:
Expand Down Expand Up @@ -325,7 +339,7 @@ spec:
- name: PROVER_ID
value: {{ .Values.node.coinbase | quote }}
{{- end }}
{{- range $key, $value := .Values.node.env }}
{{- range $key, $value := mergeOverwrite (dict) .Values.global.aztecEnv .Values.node.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions spartan/aztec-node/templates/extra-objects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{- range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{- end }}
9 changes: 7 additions & 2 deletions spartan/aztec-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ podManagementPolicy: Parallel

# global config for all Aztec nodes in an instalation
global:
# Which rollup contract we want to follow from the registry
aztecRollupVersion: "canonical"
# -- Environment variables shared by all Aztec nodes. Overridden by node.env.
aztecEnv: {}
# -- Network name - this is a predefined network - alpha-testnet, devnet
aztecNetwork: ""
# -- Custom network - (not recommended) - Only for custom testnet usecases, (must have deployed your own protocol contracts first)
Expand Down Expand Up @@ -88,6 +88,8 @@ node:
envFrom:
configMapEnabled: false
secretEnabled: false
configMaps: []
secrets: []

configMap:
envEnabled: false
Expand Down Expand Up @@ -251,3 +253,6 @@ serviceAccount:
name: ""
# -- Annotations for the service account
annotations: {}

# -- Additional Kubernetes objects to render with this chart.
extraObjects: []
3 changes: 2 additions & 1 deletion spartan/aztec-prover-stack/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global:
aztecRollupVersion: "canonical"
aztecEnv:
ROLLUP_VERSION: "canonical"
aztecNetwork: ""
customAztecNetwork:
enabled: false
Expand Down
3 changes: 2 additions & 1 deletion spartan/aztec-validator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global:
aztecRollupVersion: "canonical"
aztecEnv:
ROLLUP_VERSION: "canonical"
aztecNetwork: ""
customAztecNetwork:
enabled: false
Expand Down
3 changes: 2 additions & 1 deletion spartan/terraform/deploy-aztec-infra/values/common.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
global:
aztecRollupVersion: "canonical"
aztecEnv:
ROLLUP_VERSION: "canonical"
Loading