From cd5cd81a3dc13172cb27a554031f4a786470442f Mon Sep 17 00:00:00 2001 From: sallaman Date: Thu, 7 Sep 2023 14:05:32 +0000 Subject: [PATCH] upgrade blue-green-upgrade sample addons to V5 with gitops-bridge --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/dependency-review.yml | 2 +- .../blue-green-upgrade/bootstrap/addons.yaml | 33 ++ .../bootstrap/workloads.yaml | 68 +++ examples/blue-green-upgrade/eks-blue/main.tf | 30 +- .../blue-green-upgrade/eks-blue/outputs.tf | 20 +- .../blue-green-upgrade/eks-blue/providers.tf | 2 +- .../blue-green-upgrade/eks-blue/variables.tf | 63 +- examples/blue-green-upgrade/eks-green/main.tf | 29 +- .../blue-green-upgrade/eks-green/outputs.tf | 20 +- .../blue-green-upgrade/eks-green/providers.tf | 2 +- .../blue-green-upgrade/eks-green/variables.tf | 57 +- .../blue-green-upgrade/environment/main.tf | 14 +- .../modules/eks_cluster/main.tf | 546 ++++++++---------- .../modules/eks_cluster/outputs.tf | 29 + .../modules/eks_cluster/variables.tf | 64 +- .../modules/eks_cluster/versions.tf | 11 +- .../tear-down-applications.sh | 21 + examples/blue-green-upgrade/tear-down.sh | 26 +- .../terraform.tfvars.example | 3 +- 20 files changed, 639 insertions(+), 403 deletions(-) create mode 100644 examples/blue-green-upgrade/bootstrap/addons.yaml create mode 100644 examples/blue-green-upgrade/bootstrap/workloads.yaml create mode 100755 examples/blue-green-upgrade/tear-down-applications.sh diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6d2434bbf4..c35f235b2c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ # Description -