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

12 lines
242 B
Plaintext
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ _template.name }}
namespace: {{ _template.namespace }}
labels:
{{ _template.labels }}
data:
{% for kv_pair in _template.data %}
"{{ kv_pair.key }}": "{{ kv_pair.value }}"
{% endfor %}