From 55ce315279f269fa9d45b75e3eab8a3c1cd6bad7 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Thu, 9 Jan 2025 13:02:13 +0000 Subject: [PATCH] Remove deprecated Kubescape chart This is to be installed using ArgoCD instead and using the officially support chart from the Kubescape open source project instead of ARMO. --- .../deployments/cluster-services/kubescape.tf | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 terraform/deployments/cluster-services/kubescape.tf diff --git a/terraform/deployments/cluster-services/kubescape.tf b/terraform/deployments/cluster-services/kubescape.tf deleted file mode 100644 index 5881e53af..000000000 --- a/terraform/deployments/cluster-services/kubescape.tf +++ /dev/null @@ -1,27 +0,0 @@ -data "aws_secretsmanager_secret" "kubescape-account" { - name = "govuk/kubescape" -} - -data "aws_secretsmanager_secret_version" "kubescape-account-guid" { - secret_id = data.aws_secretsmanager_secret.kubescape-account.id -} - -resource "helm_release" "kubescape" { - chart = "armo-cluster-components" - name = "armo" - namespace = "armo-system" - create_namespace = true - repository = "https://armosec.github.io/armo-helm/" - version = "1.7.18" - timeout = var.helm_timeout_seconds - set { - name = "clusterName" - value = "govuk-${var.govuk_environment}" - } - set { - name = "accountGuid" - value = jsondecode(data.aws_secretsmanager_secret_version.kubescape-account-guid.secret_string)["accountGuid"] - } - wait = false - wait_for_jobs = false -}