2024-09-10 17:36:12 +00:00
|
|
|
resource "vault_policy" "k8s_default" {
|
2024-09-10 19:11:33 +00:00
|
|
|
name = "k8s-default"
|
2024-09-10 07:32:41 +00:00
|
|
|
|
2024-09-10 19:11:33 +00:00
|
|
|
policy = templatefile("bao-policies/k8s-default.hcl", {
|
|
|
|
k8s_auth_backend_accessor = vault_auth_backend.kubernetes.accessor,
|
|
|
|
k8s_secrets_path = vault_mount.static_secrets.path,
|
|
|
|
})
|
2024-09-10 07:32:41 +00:00
|
|
|
}
|