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
14 changes: 14 additions & 0 deletions 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
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 }}
5 changes: 5 additions & 0 deletions spartan/aztec-node/values.yaml
Original file line number Diff line number Diff line change
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: []
Loading