Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/configmap.j2

15 lines
315 B
Plaintext
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ _template.name }}
namespace: {{ _template.namespace }}
2022-09-04 19:41:49 +00:00
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 %}