secret.j2 161 B

123456789
  1. apiVersion: v1
  2. kind: Secret
  3. metadata:
  4. name: "{{secret_name}}"
  5. type: Opaque
  6. data:
  7. {% for s in secrets %}
  8. "{{s.key}}" : "{{s.value | b64encode}}"
  9. {% endfor %}