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

11 lines
231 B
Django/Jinja

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