Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion modules/infra/vault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ resource "helm_release" "vault" {
namespace = "vault"
repository = "https://helm.releases.hashicorp.com"
version = "0.29.1"
create_namespace = true

values = [templatefile("${path.module}/values.yaml", {
project_id = var.project_id
Expand Down
18 changes: 18 additions & 0 deletions modules/infra/vault/operator/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
locals {
values_yaml = templatefile("${path.module}/values.yaml", {
vault_endpoint = "https://vault.goboolean.io"
vault_role_id = var.vault_role_id
vault_secret_id = var.vault_secret_id
})
}

resource "helm_release" "vault_secrets_operator" {
name = "vault-secrets-operator"
repository = "https://helm.releases.hashicorp.com"
chart = "vault-secrets-operator"
namespace = "vault"

values = [
local.values_yaml
]
}
Loading