Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/secret.j2
Danny Bessems 1a1440f751
Some checks failed
continuous-integration/drone/push Build is failing
build: Rebase pinniped to bitnami helm chart
2023-08-22 12:02:13 +02:00

13 lines
278 B
Django/Jinja

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 %}