From 533f3a85fb099c33176664e19c3f9567d7053e62 Mon Sep 17 00:00:00 2001 From: gitkvark Date: Fri, 5 Jan 2024 23:44:41 +0100 Subject: [PATCH] Adding values files --- .../deployments/preprod/releases/monitoring-ingress.tf | 8 ++++++++ terraform/deployments/prod/releases/monitoring-ingress.tf | 8 ++++++++ terraform/deployments/releases/monitoring-ingress.tf | 5 ----- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 terraform/deployments/preprod/releases/monitoring-ingress.tf create mode 100644 terraform/deployments/prod/releases/monitoring-ingress.tf delete mode 100644 terraform/deployments/releases/monitoring-ingress.tf diff --git a/terraform/deployments/preprod/releases/monitoring-ingress.tf b/terraform/deployments/preprod/releases/monitoring-ingress.tf new file mode 100644 index 0000000..50b3d2f --- /dev/null +++ b/terraform/deployments/preprod/releases/monitoring-ingress.tf @@ -0,0 +1,8 @@ +resource "helm_release" "monitoring_ingress" { + name = "monitoring-ingress" + chart = "${path.module}/../../../../helm/monitoring-ingress" + version = "0.1.2" + values = [ + file("${path.module}/../../../../helm/monitoring-ingress/values-preprod.yaml") + ] +} diff --git a/terraform/deployments/prod/releases/monitoring-ingress.tf b/terraform/deployments/prod/releases/monitoring-ingress.tf new file mode 100644 index 0000000..7df04b1 --- /dev/null +++ b/terraform/deployments/prod/releases/monitoring-ingress.tf @@ -0,0 +1,8 @@ +resource "helm_release" "monitoring_ingress" { + name = "monitoring-ingress" + chart = "${path.module}/../../../../helm/monitoring-ingress" + version = "0.1.2" + values = [ + file("${path.module}/../../../../helm/monitoring-ingress/values-prod.yaml") + ] +} diff --git a/terraform/deployments/releases/monitoring-ingress.tf b/terraform/deployments/releases/monitoring-ingress.tf deleted file mode 100644 index 9dd0680..0000000 --- a/terraform/deployments/releases/monitoring-ingress.tf +++ /dev/null @@ -1,5 +0,0 @@ -resource "helm_release" "monitoring_ingress" { - name = "monitoring-ingress" - chart = "${path.module}/../../../helm/monitoring-ingress" - version = "0.1.2" -}