Skip to content

Commit

Permalink
chore: Drop ec2:DescribeAvailabilityZones permissions (#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Sep 5, 2024
1 parent 73d1a1f commit b56e044
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ Resources:
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cat << EOF > controller-policy.json
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeAvailabilityZones",
"ec2:DeleteLaunchTemplate",
"ec2:CreateTags",
"ec2:CreateLaunchTemplate",
Expand Down
1 change: 0 additions & 1 deletion website/content/en/docs/reference/cloudformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ This allows the Karpenter controller to do any of those read-only actions across
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ Resources:
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cat << EOF > controller-policy.json
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeAvailabilityZones",
"ec2:DeleteLaunchTemplate",
"ec2:CreateTags",
"ec2:CreateLaunchTemplate",
Expand Down
1 change: 0 additions & 1 deletion website/content/en/preview/reference/cloudformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ This allows the Karpenter controller to do any of those read-only actions across
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ Resources:
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cat << EOF > controller-policy.json
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeAvailabilityZones",
"ec2:DeleteLaunchTemplate",
"ec2:CreateTags",
"ec2:CreateLaunchTemplate",
Expand Down
1 change: 0 additions & 1 deletion website/content/en/v0.36/reference/cloudformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ This allows the Karpenter controller to do any of those read-only actions across
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ Resources:
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cat << EOF > controller-policy.json
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeAvailabilityZones",
"ec2:DeleteLaunchTemplate",
"ec2:CreateTags",
"ec2:CreateLaunchTemplate",
Expand Down
1 change: 0 additions & 1 deletion website/content/en/v0.37/reference/cloudformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ This allows the Karpenter controller to do any of those read-only actions across
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ Resources:
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cat << EOF > controller-policy.json
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeAvailabilityZones",
"ec2:DeleteLaunchTemplate",
"ec2:CreateTags",
"ec2:CreateLaunchTemplate",
Expand Down
1 change: 0 additions & 1 deletion website/content/en/v1.0/reference/cloudformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ This allows the Karpenter controller to do any of those read-only actions across
"Effect": "Allow",
"Resource": "*",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings",
Expand Down

0 comments on commit b56e044

Please sign in to comment.