Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/configmap.j2
Danny Bessems c1bff94cd1
Some checks failed
continuous-integration/drone/push Build is failing
Parallel build of bootstrap/upgrade ova;Split ansible tasks respectively
2023-01-18 15:09:32 +01:00

15 lines
315 B
Django/Jinja

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ _template.name }}
namespace: {{ _template.namespace }}
annotations:
{{ _template.annotations }}
labels:
{{ _template.labels }}
data:
{% for kv_pair in _template.data %}
"{{ kv_pair.key }}": |
{{ kv_pair.value | indent(width=4, first=True) }}
{% endfor %}