Repository navigation
EBS support - #132
EBS support #132
Conversation
|
cc @bison |
92819d0 to
6c1402d
Compare
There was a problem hiding this comment.
You can skip the check given getBlockDeviceMappings always returns valid list of block device mappings (including nil = empty array).
bison
left a comment
There was a problem hiding this comment.
/lgtm
Though, I agree with the comment from @ingvagabund.
|
/test e2e-aws |
1 similar comment
|
/test e2e-aws |
|
/test e2e-aws |
|
/approve would be great to provide example as well |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| for _, tc := range testCases { | ||
| got, err := getBlockDeviceMappings(tc.blockDevices, "existing-AMI", mockAWSClient) | ||
| if err != nil { | ||
| t.Errorf("error when calling getBlockDeviceMappings: %v", err) |
There was a problem hiding this comment.
nit: should this be fatalf? can the next assertion reliably run in the face of an error?
There was a problem hiding this comment.
Ideally yes, how ever keep in mind that the way it's right now as soon as any assertion returns error, the tests will stop as a trade off of choosing our custom implementation over oddly accommodating go test for running this e2e. We could collect errors in main before returning
There was a problem hiding this comment.
errorf will continue in the same test function.
|
/lgtm |
* Does not update the node ref so clusterctl will still wait forever * Fixes a bug with subnet code * Adds configurable ssh key Signed-off-by: Chuck Ha <[email protected]>
Since we added support on the aws actuator API openshift/cluster-api-provider-aws#132 we want to allow this to be configurable for the users through the upper level installer API config
As part of CLOUD-303 this introduce support for BlockDevices