mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
Merge pull request 'fenix-admin' (#214) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-opentofu-private#214
This commit is contained in:
@ -129,11 +129,10 @@ jobs:
|
||||
#!/bin/bash
|
||||
|
||||
- name: vaultwarden getsecrets
|
||||
working-directory: infra
|
||||
working-directory: infra/iac
|
||||
run: |
|
||||
bw sync
|
||||
# Ler o arquivo de referência
|
||||
for secret in $(jq -c '.secrets[]' iac/secrets/vault-secrets-map.json); do
|
||||
for secret in $(jq -c '.secrets[]' ../secrets/vault-secrets-map.json); do
|
||||
name=$(echo "$secret" | jq -r '.name')
|
||||
type=$(echo "$secret" | jq -r '.type')
|
||||
output=$(echo "$secret" | jq -r '.output')
|
||||
|
||||
@ -3,17 +3,17 @@
|
||||
{
|
||||
"name": "iac.opentofu.consul.secrets",
|
||||
"type": "attachment",
|
||||
"output": "iac/secrets/consul.secrets.tfvars"
|
||||
"output": "../secrets/consul.secrets.tfvars"
|
||||
},
|
||||
{
|
||||
"name": "iac.opentofu.proxmox.secrets",
|
||||
"type": "attachment",
|
||||
"output": "iac/secrets/proxmox.secrets.tfvars"
|
||||
"output": "../secrets/proxmox.secrets.tfvars"
|
||||
},
|
||||
{
|
||||
"name": "iac.opentofu.vaultwarden.secrets",
|
||||
"type": "attachment",
|
||||
"output": "iac/secrets/vaultwarden.secrets.tfvars"
|
||||
"output": "../secrets/vaultwarden.secrets.tfvars"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user