mirror of https://github.com/kubernetes/kops.git
Remove redundant call to addSnapshotPermissions
This commit is contained in:
parent
be63d4f1a7
commit
7c448d3535
|
@ -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