From 378e8400d1593c4645eef8c2e50db8a7aee93336 Mon Sep 17 00:00:00 2001 From: tom-j-smith Date: Fri, 8 Sep 2023 16:22:08 +0100 Subject: [PATCH 1/2] removing unneeded variable --- runbooks/source/manually-delete-namespace-resources.html.md.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/runbooks/source/manually-delete-namespace-resources.html.md.erb b/runbooks/source/manually-delete-namespace-resources.html.md.erb index c79b7f2d..6c8fbe1c 100644 --- a/runbooks/source/manually-delete-namespace-resources.html.md.erb +++ b/runbooks/source/manually-delete-namespace-resources.html.md.erb @@ -27,7 +27,6 @@ namespace deletion: ```bash TF_VAR_cluster_name # e.g. "cp-1902-02" to get the vpc details for some modules like rds, es TF_VAR_cluster_state_bucket # State where the cluster state is stored -TF_VAR_cluster_state_key # folder name/state key inside the state bucket where cluster state is stored TF_VAR_github_owner # Github owner: ministryofjustice TF_VAR_github_token # Personal access token with repo scope to push github action secrets TF_VAR_kubernetes_cluster # Full name of the Cluster e.g. XXXXXX.gr7.eu-west2.eks.amazonaws.com From 2c589b38b3b92353af15892a36fac98ca046a2de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 8 Sep 2023 15:23:32 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- .../source/manually-delete-namespace-resources.html.md.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/runbooks/source/manually-delete-namespace-resources.html.md.erb b/runbooks/source/manually-delete-namespace-resources.html.md.erb index 6c8fbe1c..903186bb 100644 --- a/runbooks/source/manually-delete-namespace-resources.html.md.erb +++ b/runbooks/source/manually-delete-namespace-resources.html.md.erb @@ -7,10 +7,9 @@ review_in: 6 months # Manually Delete Namespace Resources -In the event that you need to manually delete a cloud-platform-environments namespace, for example production namespaces which our +In the event that you need to manually delete a cloud-platform-environments namespace, for example production namespaces which our namespace-deleter pipeline is configured to skip, you can do so by following the steps below. - ## Prerequisites Ensure you have the following installed on your machine: @@ -21,7 +20,7 @@ Ensure you have the following installed on your machine: ## Environment Variables -In addition to having your AWS profile configured, the following environment variables must be set before executing a +In addition to having your AWS profile configured, the following environment variables must be set before executing a namespace deletion: ```bash @@ -59,4 +58,4 @@ cloud-platform environment destroy \ --skip-prod-destroy=true # Set this flag to false to destroy namespace marked :is-production ``` The command will then destroy all terraform and kubernetes resources associated with the namespace, and finally will delete -the namespace itself. \ No newline at end of file +the namespace itself.