Skip to content

Commit 1ba7d40

Browse files
authored
Merge pull request #3727 from cnmcavoy/cnmcavoy/control-plane-deregister-targets
Add elasticloadbalancing:DeregisterTargets to control plane role policy
2 parents 863b58b + e9742b5 commit 1ba7d40

14 files changed

+14
-0
lines changed

cmd/clusterawsadm/cloudformation/bootstrap/cloud_provider_integration_control_plane.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func (t Template) cloudProviderControlPlaneAwsPolicy() *iamv1.PolicyDocument {
8484
"elasticloadbalancing:CreateTargetGroup",
8585
"elasticloadbalancing:DeleteListener",
8686
"elasticloadbalancing:DeleteTargetGroup",
87+
"elasticloadbalancing:DeregisterTargets",
8788
"elasticloadbalancing:DescribeListeners",
8889
"elasticloadbalancing:DescribeLoadBalancerPolicies",
8990
"elasticloadbalancing:DescribeTargetGroups",

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/customsuffix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/default.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_all_secret_backends.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_bootstrap_user.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Resources:
7373
- elasticloadbalancing:CreateTargetGroup
7474
- elasticloadbalancing:DeleteListener
7575
- elasticloadbalancing:DeleteTargetGroup
76+
- elasticloadbalancing:DeregisterTargets
7677
- elasticloadbalancing:DescribeListeners
7778
- elasticloadbalancing:DescribeLoadBalancerPolicies
7879
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_custom_bootstrap_user.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Resources:
7373
- elasticloadbalancing:CreateTargetGroup
7474
- elasticloadbalancing:DeleteListener
7575
- elasticloadbalancing:DeleteTargetGroup
76+
- elasticloadbalancing:DeregisterTargets
7677
- elasticloadbalancing:DescribeListeners
7778
- elasticloadbalancing:DescribeLoadBalancerPolicies
7879
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_different_instance_profiles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_eks_console.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_eks_default_roles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

cmd/clusterawsadm/cloudformation/bootstrap/fixtures/with_eks_disable.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Resources:
7070
- elasticloadbalancing:CreateTargetGroup
7171
- elasticloadbalancing:DeleteListener
7272
- elasticloadbalancing:DeleteTargetGroup
73+
- elasticloadbalancing:DeregisterTargets
7374
- elasticloadbalancing:DescribeListeners
7475
- elasticloadbalancing:DescribeLoadBalancerPolicies
7576
- elasticloadbalancing:DescribeTargetGroups

0 commit comments

Comments
 (0)