Remove redundant call to addSnapshotPermissions

This commit is contained in:
Ole Markus With 2021-07-19 15:32:13 +02:00
parent be63d4f1a7
commit 7c448d3535
1 changed files with 0 additions and 3 deletions

View File

@ -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
}