Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aws max change count flag #596

Merged
merged 3 commits into from
Jun 18, 2018

Conversation

peterbale
Copy link
Contributor

Adding a new aws-max-change-count flag to override the default max
change count on the aws provider.

Included updated tests with a new defaultMaxChangeCount constant and
tests for setting the value as a flag and as an environment variable.

Rather than calling NewAWSProvider with a list of objects, you will
now call it using a new AWSConfig struct. This allows for clearer
declarations of variables which becomes even more important as more
variables are added.

Part of: #515

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 15, 2018
@njuettner
Copy link
Member

Thank you for your PR @peterbale

We'll have a look

@ideahitme
Copy link

mind adding the change to the changelog ?
otherwise LGTM

Rather than calling `NewAWSProvider` with a list of objects, you will
now call it using a new `AWSConfig` struct. This allows for clearer
declarations of variables which becomes even  more important as more
variables are added.
Adding a new `aws-max-change-count` flag to override the default max
change count on the aws provider.

Included updated tests with a new `defaultMaxChangeCount` constant and
tests for setting the value as a flag and as an environment variable.
Updating CHANGELOG.md with 'Add aws max change count flag' PR.
@linki linki added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 18, 2018
@linki linki merged commit e34bf55 into kubernetes-sigs:master Jun 18, 2018
@linki
Copy link
Member

linki commented Jun 18, 2018

Thanks @peterbale 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants