feat: use actual service name
Some checks reported errors
continuous-integration/drone/push Build encountered an error

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-26 23:32:57 +02:00
parent f24f2706ae
commit b24056354f
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -95,7 +95,7 @@ pub mod crdb_database {
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: {{ vars.cuddle_crdb.file_name(service_name) }} name: {{ vars.cuddle_crdb.file_name(vars.cuddle_vars.service) }}
namespace: {{ vars.cluster_vars.namespace }} namespace: {{ vars.cluster_vars.namespace }}
data: data:
DATABASE_URL: postgresql://root@{{environment}}-cluster:26257/{{ vars.cuddle_vars.service }} DATABASE_URL: postgresql://root@{{environment}}-cluster:26257/{{ vars.cuddle_vars.service }}