feat: remove nested

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-25 13:00:51 +02:00
parent 4fce7751a1
commit e400eec936
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
3 changed files with 2 additions and 4 deletions

View File

@ -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