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

13 lines
278 B
Plaintext
Raw Normal View History

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