-
Notifications
You must be signed in to change notification settings - Fork 519
feat: Support dynamic AzureEnvironmentSpecConfig #386
Conversation
Codecov Report
@@ Coverage Diff @@
## master #386 +/- ##
=========================================
- Coverage 53.42% 53.33% -0.1%
=========================================
Files 95 98 +3
Lines 14361 16769 +2408
=========================================
+ Hits 7673 8943 +1270
- Misses 6025 7047 +1022
- Partials 663 779 +116 |
/assign @jackfrancis |
@jackfrancis Thanks to review the code. I resolve the your comments and E2E test are passed now with the latest code. |
@honcao I understand why we need to define new types for these configurations in the Am I missing something? |
@jackfrancis , you are correct, we do not need all the defaults in azenvtypes.go, only AzureStackCloudSpec is required. I will update the code. |
Co-Authored-By: honcao <honcao@microsoft.com>
…into environmentspec
@jackfrancis thanks. And I will follow up with team to collect thoughts and refractor the code later? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: honcao, mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Support dynamic AzureEnvironmentSpecConfig * remove the DcosSpecConfig from surface area * use !="" to compare string for readability * remove unused default AzureEnvironmentSpecConfig in vlabs * Update pkg/api/azenvtypes.go for AzureStackCloudSpec comments Co-Authored-By: honcao <honcao@microsoft.com> * put default value of Azure Stack Environment Spec Config into default.go * add an wapper assging the dst string if the src string is not empty * assigning structs to variables for reuse * add new pubic function to support azurestack. * update comments for GetDefaultStringWithOverwrite * move set default custom cloud profile to seperate file
Reason for Change:
Feature Change for #278
Issue Fixed:
Fix #278
Requirements:
Notes: