update vault integration

This commit is contained in:
2024-05-10 15:56:07 +03:00
parent 385b79d457
commit a0f87046ca
55 changed files with 828 additions and 135 deletions

View File

@@ -0,0 +1,14 @@
package templates
import (
"fmt"
"kube-forge/internal/config"
)
func ApplyVaultInitKeysTemplate() {
config := config.GetConfig()
var VAULT_INIT_KEYS_TEMPLATE = [...][2]string{
{"templates/secrets-storage/vault-keys.json.tmpl", fmt.Sprintf("%s/vault-keys.json", config.WorkDir)},
}
applyTemplates(VAULT_INIT_KEYS_TEMPLATE[:])
}