From d36cee3206c9e58c2639ef572db587ed46e922ad Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 13 Mar 2025 15:48:53 -0400 Subject: [PATCH] disable gatekeeper --- .../eks-gogatekeeper/terragrunt.hcl | 80 ------------------- 1 file changed, 80 deletions(-) delete mode 100644 lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl diff --git a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl b/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl deleted file mode 100644 index 119537e6..00000000 --- a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl +++ /dev/null @@ -1,80 +0,0 @@ -include "root" { - path = find_in_parent_folders("root.hcl") - merge_strategy = "deep" - expose = true -} - -terraform { - source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-gogatekeeper.git?ref=${include.root.inputs.release_version}" - extra_arguments "retry_lock" { - commands = get_terraform_commands_that_need_locking() - arguments = ["-lock-timeout=20s"] - } -} - -dependency "eks" { - config_path = "../eks" - mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] - mock_outputs = { - cluster_name = "mock-cluster" - oidc_provider_arn = "arn:aws-us-gov:iam::123456789012:oidc-provider/mock" - } -} - -dependency "eks_dns" { - config_path = "../eks-dns" - mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] - mock_outputs = { - cluster_domain = "mock.example.com" - } -} - -dependency "eks_grafana" { - config_path = "../eks-grafana" - mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] - mock_outputs = { - public_endpoint = "mock.grafaba.example.com" - } -} - -dependency "eks_keycloak" { - config_path = "../eks-keycloak" - mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] - mock_outputs = { - public_endpoint = "mock.keycloak.example.com" - discovery_url = "mock.keycloak.example.com/auth" - client_id = "mock-client-id" - client_secret = "mock-client-secret" - } -} - -dependencies { - paths = [ - "../eks", - "../eks-dns", - "../eks-grafana", - "../eks-keycloak", - "../eks-prometheus", - ] -} - -inputs = { - # Base Cluster Config - cluster_domain = dependency.eks_dns.outputs.cluster_domain - namespace = include.root.inputs.namespaces["gogatekeeper"] - profile = include.root.inputs.aws_profile - region = include.root.inputs.aws_region - - # Gatekeeper Config - gogatekeeper_tag = include.root.inputs.gogatekeeper_tag - gogatekeeper_chart_version = include.root.inputs.gogatekeeper_chart_version - keycloak_discovery_url = dependency.eks_keycloak.outputs.discovery_url - - # Service Behind Gatekeeper Config - service_name = "test-gc" - upstream_url = dependency.eks_grafana.outputs.public_endpoint - redirection_url = dependency.eks_grafana.outputs.public_endpoint - client_id = dependency.eks_keycloak.outputs.client_id - client_secret = dependency.eks_keycloak.outputs.client_secret - keycloak_public_url = dependency.eks_keycloak.outputs.public_endpoint -}