First commit
This commit is contained in:
15
postgres.tf
Normal file
15
postgres.tf
Normal file
@@ -0,0 +1,15 @@
|
||||
resource "helm_release" "postgresql" {
|
||||
name = "postgresql"
|
||||
repository = "https://charts.bitnami.com/bitnami"
|
||||
chart = "postgresql"
|
||||
namespace = "default"
|
||||
create_namespace = false
|
||||
version = "15.5.23"
|
||||
|
||||
values = [templatefile("${path.module}/helm_values/postgresql.yaml", {
|
||||
postgres_user = "${var.POSTGRES_USER}"
|
||||
postgres_password = "${var.POSTGRES_PASSWORD}"
|
||||
vela_user = "${var.VELA_USER}"
|
||||
vela_password = "${var.VELA_PASSWORD}"
|
||||
})]
|
||||
}
|
||||
Reference in New Issue
Block a user