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

Update Azure SDK and API version #1201

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

embik
Copy link
Member

@embik embik commented Mar 2, 2022

What this PR does / why we need it:

Our Azure dependencies could use an update, this bumps both the Azure SDK go module and the used Azure APIs. That unlocks some functionality the old APIs were lacking (for example, filtering SKUs by location). KKP already uses more recent API versions.

Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Optional Release Note:

Azure SDK updated to v62.0.0, Azure compute API updated to `2021-11-01`, Azure network API updated to `2021-05-01`

Signed-off-by: Marvin Beckers marvin@kubermatic.com

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. sig/osm Denotes a PR or issue as being assigned to SIG OSM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 2, 2022
@embik
Copy link
Member Author

embik commented Mar 4, 2022

/retest

@embik embik requested a review from moadqassem March 14, 2022 08:40
Copy link
Member

@ahmedwaleedmalik ahmedwaleedmalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2022
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 491c16c11a355fcbe93d4a9f912ed06583e11d79

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmedwaleedmalik, embik

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2022
@kubermatic-triage-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs

Review the full test history

Silence the bot with an /lgtm cancel or /hold comment for consistent failures.

@kubermatic-bot kubermatic-bot merged commit 4fad0db into kubermatic:master Mar 18, 2022
embik added a commit to kubermatic-bot/machine-controller that referenced this pull request May 20, 2022
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
kubermatic-bot added a commit that referenced this pull request May 23, 2022
#1299)

* Add support for setting disk types (OS and data)

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Use correct disk types to compare against

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Rename diskType fields to diskSKU (Azure nomenclature)

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Check if SKU supports premium storage

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Cache SKU information

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Include Azure disk SKUs in e2e testing

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Implement disk SKU validation for ultra disks as well

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* CyClOmAtIc CoMpLeXitY

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Update pkg/cloudprovider/provider/azure/create_delete_resources.go

Co-authored-by: Moath Qasim <moad.qassem@gmail.com>

* Use map instead of slice to store allowed SKUs

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Remove label and adjust loop condition

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Update Azure SDK and API version (#1201)

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

Co-authored-by: Marvin Beckers <marvin@kubermatic.com>
Co-authored-by: Marvin Beckers <10295525+embik@users.noreply.github.com>
Co-authored-by: Moath Qasim <moad.qassem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. sig/osm Denotes a PR or issue as being assigned to SIG OSM. 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.

None yet

4 participants