Files
factorio/templates/resources.yaml
T

12 lines
487 B
YAML
Raw Normal View History

2026-10-27 07:16:05 +01:00
{{ tpl (.Files.Get "factorio.yaml") . }}
---
{{ tpl (.Files.Get "monitoring.yaml") . }}
---
{{- if .Values.dashboard.enabled }}
{{- $dashboard := .Files.Get "dashboard.yaml" }}
{{- $dashboard = replace "namespace=\\\"factorio\\\"" (printf "namespace=\\\"%s\\\"" .Release.Namespace) $dashboard }}
{{- range list "version" "container" "node" }}
{{- $dashboard = replace (printf "{{%s}}" .) (printf "{{ \"{{\" }}%s{{ \"}}\" }}" .) $dashboard }}
{{- end }}
{{ tpl $dashboard . }}
{{- end }}