From 72f1703b93fda20c09751c97a2afa0e7ed8f02c7 Mon Sep 17 00:00:00 2001 From: xgro <76501289+xgro@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:16:33 +0900 Subject: [PATCH] docs: Incorrect information during v1beta1-migration.md to official document version 0.32.x (#5488) --- website/content/en/v0.32/upgrading/v1beta1-migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/en/v0.32/upgrading/v1beta1-migration.md b/website/content/en/v0.32/upgrading/v1beta1-migration.md index 9e86499284d0..30b3c4a6e9ff 100644 --- a/website/content/en/v0.32/upgrading/v1beta1-migration.md +++ b/website/content/en/v0.32/upgrading/v1beta1-migration.md @@ -189,7 +189,7 @@ The [`karpenter-convert`](https://github.com/aws/karpenter/tree/release-v0.32.x/ ```bash ROLE_NAME="${CLUSTER_NAME}-karpenter" POLICY_NAME="KarpenterControllerPolicy-${CLUSTER_NAME}" - POLICY_ARN=$(aws iam list-policies --query 'Policies[?PolicyName==`KarpenterControllerPolicy-scale-test`].Arn' --output text) + POLICY_ARN=$(aws iam list-policies --query "Policies[?PolicyName=='${POLICY_NAME}'].Arn" --output text) aws iam detach-role-policy --role-name "${ROLE_NAME}" --policy-arn "${POLICY_ARN}" ```