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.

@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 <shreyas_badiger@intuit.com>

* remove additional new lint

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* indentation

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* update default config type

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* update spec

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* refactor the default scaling config code

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* add unit tests

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* fix unit tests

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* indent

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* update defaultScalingConfiguration flag description

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

---------

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>
Signed-off-by: sbadiger <shreyas_badiger@intuit.com>
Signed-off-by: sbadiger <shreyas_badiger@intuit.com>
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Todd Ekenstam <3845995+tekenstam@users.noreply.github.com>
Signed-off-by: sbadiger <shreyas_badiger@intuit.com>
@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