diff --git a/crates/cuddle-clusters/src/catalog/vault_secret.rs b/crates/cuddle-clusters/src/catalog/vault_secret.rs index 64f9db7..7a0d482 100644 --- a/crates/cuddle-clusters/src/catalog/vault_secret.rs +++ b/crates/cuddle-clusters/src/catalog/vault_secret.rs @@ -81,12 +81,12 @@ impl Component for VaultSecret { r#"apiVersion: secrets.hashicorp.com/v1beta1 kind: VaultStaticSecret metadata: - name: {{ vars.cuddle_vars.service }}-{{ vars.vault_secret.name }} + name: {{ vars.vault_secret.file_name(vars.cuddle_vars.service) }} namespace: {{ vars.cluster_vars.namespace }} spec: destination: create: true - name: {{ vars.cuddle_vars.service }}-{{ vars.vault_secret.name }} + name: {{ vars.vault_secret.file_name(vars.cuddle_vars.service) }} mount: kvv2 path: {{ vars.cuddle_vars.service }}/{{ environment }} refreshAfter: 30s diff --git a/crates/cuddle-clusters/tests/nested/expected/dev/plan-raw b/crates/cuddle-clusters/tests/nested/expected/dev/plan-raw deleted file mode 100644 index 79c5395..0000000 --- a/crates/cuddle-clusters/tests/nested/expected/dev/plan-raw +++ /dev/null @@ -1 +0,0 @@ -nested diff --git a/crates/cuddle-clusters/tests/nested/expected/dev/plan-template b/crates/cuddle-clusters/tests/nested/expected/dev/plan-template deleted file mode 100644 index bfe53d7..0000000 --- a/crates/cuddle-clusters/tests/nested/expected/dev/plan-template +++ /dev/null @@ -1 +0,0 @@ -nested \ No newline at end of file