38 lines
913 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "nomos-runner.fullname" . }}-assets
labels:
{{- include "nomos-runner.labels" . | nindent 4 }}
data:
cfgsync.yaml: |
{{- if .Values.cfgsync.config }}
{{ .Values.cfgsync.config | indent 4 }}
{{- else }}
{{ "" | indent 4 }}
{{- end }}
run_cfgsync.sh: |
{{- if .Values.scripts.runCfgsyncSh }}
{{ .Values.scripts.runCfgsyncSh | indent 4 }}
{{- else }}
{{ "" | indent 4 }}
{{- end }}
run_nomos.sh: |
{{- if .Values.scripts.runNomosSh }}
{{ .Values.scripts.runNomosSh | indent 4 }}
{{- else }}
{{ "" | indent 4 }}
{{- end }}
run_nomos_node.sh: |
{{- if .Values.scripts.runNomosNodeSh }}
{{ .Values.scripts.runNomosNodeSh | indent 4 }}
{{- else }}
{{ "" | indent 4 }}
{{- end }}
run_nomos_executor.sh: |
{{- if .Values.scripts.runNomosExecutorSh }}
{{ .Values.scripts.runNomosExecutorSh | indent 4 }}
{{- else }}
{{ "" | indent 4 }}
{{- end }}