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

set LaunchTemplate as default value for default-scaling-configuration #387

Merged
merged 5 commits into from
Sep 19, 2023
Merged

set LaunchTemplate as default value for default-scaling-configuration #387

merged 5 commits into from
Sep 19, 2023

Conversation

shreyas-badiger
Copy link
Contributor

@shreyas-badiger shreyas-badiger commented Sep 12, 2023

PR #385 changed the ASG default from LaunchConfigurations to LaunchTemplates.

There was a small mistake, where the default-scaling-configuration flag name was accidentally left empty.

This PR will fix the naming and also provide a default value.

@shreyas-badiger shreyas-badiger requested review from a team as code owners September 12, 2023 18:17
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #387 (76d786a) into master (6d3fc21) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #387      +/-   ##
==========================================
+ Coverage   51.43%   51.45%   +0.02%     
==========================================
  Files          33       33              
  Lines        4571     4573       +2     
==========================================
+ Hits         2351     2353       +2     
  Misses       2075     2075              
  Partials      145      145              
Files Changed Coverage Δ
api/v1alpha1/instancegroup_types.go 21.72% <100.00%> (+0.43%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

shreyas-badiger and others added 5 commits September 15, 2023 10:57
* make launchtemplates default

Signed-off-by: sbadiger <[email protected]>

* remove additional new lint

Signed-off-by: sbadiger <[email protected]>

* indentation

Signed-off-by: sbadiger <[email protected]>

* update default config type

Signed-off-by: sbadiger <[email protected]>

* update spec

Signed-off-by: sbadiger <[email protected]>

* refactor the default scaling config code

Signed-off-by: sbadiger <[email protected]>

* add unit tests

Signed-off-by: sbadiger <[email protected]>

* fix unit tests

Signed-off-by: sbadiger <[email protected]>

* indent

Signed-off-by: sbadiger <[email protected]>

* update defaultScalingConfiguration flag description

Signed-off-by: sbadiger <[email protected]>

---------

Signed-off-by: sbadiger <[email protected]>
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Todd Ekenstam <[email protected]>
Signed-off-by: sbadiger <[email protected]>
@shreyas-badiger shreyas-badiger merged commit b5c6488 into keikoproj:master Sep 19, 2023
5 checks passed
@shreyas-badiger shreyas-badiger mentioned this pull request Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants