---
apiVersion: v1
kind: Secret
metadata:
  name: {{ name }}
  namespace: {{ namespace }}
  labels:
    ownerId: {{ owner_id }}
    envId: {{ environment_id }}
    appId: {{ id }}
    app: {{ name }}
type: Opaque
stringData:
  {%- for ev in environment_variables %}
  {{ ev.key }}: "{{ ev.value }}"
  {%- endfor %}