From c65c1243f2a542ec04fff54e749c04a7d65ee4fe Mon Sep 17 00:00:00 2001 From: Janos Konkoly <55237932+konjanos@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:29:00 +1030 Subject: [PATCH] Fixing variable name in migration guide --- 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 30b3c4a6e9ff..65b2e1d3eb4a 100644 --- a/website/content/en/v0.32/upgrading/v1beta1-migration.md +++ b/website/content/en/v0.32/upgrading/v1beta1-migration.md @@ -178,7 +178,7 @@ The [`karpenter-convert`](https://github.com/aws/karpenter/tree/release-v0.32.x/ 16. Remove the alpha instance profile(s). If you were just using the InstanceProfile deployed through the [Getting Started Guide]({{< ref "../getting-started/getting-started-with-karpenter" >}}), delete the `KarpenterNodeInstanceProfile` section from the CloudFormation. Alternatively, if you want to remove the instance profile manually, you can run the following command ```bash - ROLE_NAME="KarpenterNodeRole-${ClusterName}" + ROLE_NAME="KarpenterNodeRole-${CLUSTER_NAME}" INSTANCE_PROFILE_NAME="KarpenterNodeInstanceProfile-${CLUSTER_NAME}" aws iam remove-role-from-instance-profile --instance-profile-name "${INSTANCE_PROFILE_NAME}" --role-name "${ROLE_NAME}" aws iam delete-instance-profile --instance-profile-name "${INSTANCE_PROFILE_NAME}"