From bfd52ed40a34f0324c4143e19bc4103f0090fba4 Mon Sep 17 00:00:00 2001 From: gkan Date: Wed, 15 Jun 2022 21:55:41 -0700 Subject: [PATCH] Removing testkube --- .../100-testkube/10-testkube/terragrunt.hcl | 65 ------------------- .../100-testkube/10-testkube/values.yaml | 3 - 2 files changed, 68 deletions(-) delete mode 100644 terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/terragrunt.hcl delete mode 100644 terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/values.yaml diff --git a/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/terragrunt.hcl b/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/terragrunt.hcl deleted file mode 100644 index c9ab2044c..000000000 --- a/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/terragrunt.hcl +++ /dev/null @@ -1,65 +0,0 @@ -# Include all settings from the root terragrunt.hcl file -include { - path = find_in_parent_folders() -} - -terraform { - source = "github.com/ManagedKube/kubernetes-ops.git//terraform-modules/aws/helm/helm_generic?ref=v1.0.9" -} - -dependency "eks" { - config_path = "${get_terragrunt_dir()}/../../../200-eks" - - mock_outputs = { - zone_id = "zzzz" - } - mock_outputs_allowed_terraform_commands = ["validate", ] -} - -# Generate a Kubernetes provider configuration for authenticating against the EKS cluster. -generate "k8s_helm" { - path = "k8s_helm_provider.tf" - if_exists = "overwrite_terragrunt" - contents = templatefile( - find_in_parent_folders("provider_k8s_helm_for_eks.template.hcl"), - { - eks_cluster_name = dependency.eks.outputs.cluster_id, - kubergrunt_exec = get_env("KUBERGRUNT_EXEC", "kubergrunt") - }, - ) -} - -# --------------------------------------------------------------------------------------------------------------------- -# Locals are named constants that are reusable within the configuration. -# --------------------------------------------------------------------------------------------------------------------- -locals { - # Load common variables shared across all accounts - common_vars = read_terragrunt_config(find_in_parent_folders("common.hcl")) - - # Load region-level variables - region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl")) - - # Load environment-level variables - environment_vars = read_terragrunt_config(find_in_parent_folders("environment.hcl")) - - tags = { - ops_env = local.common_vars.locals.environment_name - ops_managed_by = "terraform" - ops_source_repo = local.common_vars.locals.repository_name - ops_source_repo_path = "${local.common_vars.locals.base_repository_path}/${path_relative_to_include()}" - ops_owners = "devops" - } -} - -# --------------------------------------------------------------------------------------------------------------------- -# MODULE PARAMETERS -# These are the variables we have to pass in to use the module specified in the terragrunt configuration above -# --------------------------------------------------------------------------------------------------------------------- -inputs = { - repository = "https://kubeshop.github.io/helm-charts" - official_chart_name = "testkube" - user_chart_name = "testkube" - helm_version = "1.0.25" - namespace = "testkube" - helm_values = file("values.yaml") -} diff --git a/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/values.yaml b/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/values.yaml deleted file mode 100644 index d4aca1fde..000000000 --- a/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/300-kubernetes/100-testkube/10-testkube/values.yaml +++ /dev/null @@ -1,3 +0,0 @@ -# Doc: https://github.com/kubeshop/helm-charts/tree/main/charts/testkube -# https://kubeshop.github.io ----