mirror of https://github.com/kubernetes/kops.git
				
				
				
			Merge pull request #12025 from olemarkus/remove-redundant-snapshot-permissions
Remove redundant call to addSnapshotPermissions
This commit is contained in:
		
						commit
						d9e21009ba
					
				|  | @ -366,9 +366,6 @@ func (r *NodeRoleMaster) BuildAWSPolicy(b *PolicyBuilder) (*Policy, error) { | |||
| 		addCalicoSrcDstCheckPermissions(p) | ||||
| 	} | ||||
| 
 | ||||
| 	if b.Cluster.Spec.SnapshotController != nil && fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled) { | ||||
| 		addSnapshotPersmissions(p) | ||||
| 	} | ||||
| 	return p, nil | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue