From 9a9734b2d75f3e196c738a14cbd56c0df053596f Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 12 Jan 2025 22:20:37 +0100 Subject: [PATCH] fix: invalid name for vault_postgres --- templates/clusters/deployment.yaml.jinja2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/clusters/deployment.yaml.jinja2 b/templates/clusters/deployment.yaml.jinja2 index f3e90af..93428d2 100644 --- a/templates/clusters/deployment.yaml.jinja2 +++ b/templates/clusters/deployment.yaml.jinja2 @@ -53,12 +53,12 @@ spec: {%- endfor %} {%- endif %} - {%- if vars.vault_postgres.has_values %} - {%- for env in vars.vault_postgres.env %} + {%- if vars.cuddle_postgres.has_values %} + {%- for env in vars.cuddle_postgres.env %} - name: {{ env | upper | replace(".", "_") | replace("-", "_") }} valueFrom: secretKeyRef: - name: {{ vars.vault_postgres.file_name(service_name) }} + name: {{ vars.cuddle_postgres.file_name(service_name) }} key: {{ env }} {%- endfor %} {%- endif %}