fix: invalid name for vault_postgres
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2025-01-12 22:20:37 +01:00
parent 2712707da8
commit 9a9734b2d7
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM

View File

@ -53,12 +53,12 @@ spec:
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- if vars.vault_postgres.has_values %} {%- if vars.cuddle_postgres.has_values %}
{%- for env in vars.vault_postgres.env %} {%- for env in vars.cuddle_postgres.env %}
- name: {{ env | upper | replace(".", "_") | replace("-", "_") }} - name: {{ env | upper | replace(".", "_") | replace("-", "_") }}
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ vars.vault_postgres.file_name(service_name) }} name: {{ vars.cuddle_postgres.file_name(service_name) }}
key: {{ env }} key: {{ env }}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}