diff --git a/crates/cuddle-clusters/src/catalog.rs b/crates/cuddle-clusters/src/catalog.rs index 5a94131..591d488 100644 --- a/crates/cuddle-clusters/src/catalog.rs +++ b/crates/cuddle-clusters/src/catalog.rs @@ -95,7 +95,7 @@ pub mod crdb_database { apiVersion: v1 kind: ConfigMap metadata: - name: {{ vars.cuddle_crdb.file_name(service_name) }} + name: {{ vars.cuddle_crdb.file_name(vars.cuddle_vars.service) }} namespace: {{ vars.cluster_vars.namespace }} data: DATABASE_URL: postgresql://root@{{environment}}-cluster:26257/{{ vars.cuddle_vars.service }}