Packer.Images/ansible/roles/firstboot/files/ansible_payload/templates/configmap.j2
Danny Bessems 7c7333690d
All checks were successful
continuous-integration/drone/push Build is passing
Fix linting warning;Add annotations
2022-09-04 21:41:49 +02:00

14 lines
285 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 }}"
{% endfor %}