# templates/configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-script data: temperature_fetcher.py: | {{ .Files.Get "temperature_fetcher.py" | indent 4 }}