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

refactor: move vsphere account under auth to match new plugin api #189

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

arturshadnik
Copy link
Member

Issue

Resolves #183

Description

Removing VspherePluginConfig.Account and switching to using .Auth.CloudAccount, to align with updates to the plugin.

@arturshadnik arturshadnik marked this pull request as ready for review August 22, 2024 20:45
@arturshadnik arturshadnik requested a review from a team as a code owner August 22, 2024 20:45
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. refactoring Refactoring / tech debt labels Aug 22, 2024
ahmad-ibra
ahmad-ibra previously approved these changes Aug 22, 2024
Copy link
Collaborator

@ahmad-ibra ahmad-ibra left a comment

Choose a reason for hiding this comment

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

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 22, 2024
@dosubot dosubot bot removed the lgtm This PR has been approved by a maintainer label Aug 22, 2024
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

Attention: Patch coverage is 52.63158% with 9 lines in your changes missing coverage. Please review.

Files Patch % Lines
pkg/services/validator/vmware.go 25.00% 8 Missing and 1 partial ⚠️
@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
+ Coverage   53.51%   53.52%   +0.01%     
==========================================
  Files          44       44              
  Lines        6296     6294       -2     
==========================================
  Hits         3369     3369              
+ Misses       2077     2076       -1     
+ Partials      850      849       -1     
Files Coverage Δ
pkg/cmd/validator/validator.go 58.51% <100.00%> (ø)
pkg/components/validator.go 58.38% <100.00%> (+0.21%) ⬆️
pkg/services/validator/vmware.go 41.32% <25.00%> (+0.08%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6829834...013a239. Read the comment docs.

TylerGillson
TylerGillson previously approved these changes Aug 22, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 22, 2024
chore: make reviewable
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 23, 2024
@TylerGillson TylerGillson merged commit 90352e1 into main Aug 23, 2024
7 of 8 checks passed
@TylerGillson TylerGillson deleted the feat/vcenter-auth branch August 23, 2024 18:57
TylerGillson added a commit that referenced this pull request Sep 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.3](v0.1.2...v0.1.3)
(2024-09-03)


### Features

* inline auth for MAAS
([#198](#198))
([ed78617](ed78617))
* support Azure plugin community gallery image rule
([#181](#181))
([3d20725](3d20725))


### Bug Fixes

* ensure ErrValidationFailed is returned for maas direct validation
failures
([#179](#179))
([0e0e7b9](0e0e7b9))
* handle validation errors, result count mismatch
([#204](#204))
([a2ea08b](a2ea08b))
* only require docker, kind when provisioning kind cluster
([#180](#180))
([1bbdb0e](1bbdb0e))
* remove duplicate maas base values from template
([#182](#182))
([cfa39a8](cfa39a8))
* support `validator rules check -f config.yaml` without all plugins
defined
([#191](#191))
([6829834](6829834))


### Other

* cleanup comment
([#176](#176))
([f371927](f371927))


### Dependency Updates

* **deps:** update anchore/sbom-action action to v0.17.2
([#184](#184))
([00d3a5c](00d3a5c))
* **deps:** update github.com/validator-labs/validator-plugin-maas
digest to e903cc7
([#175](#175))
([09c3ad1](09c3ad1))
* **deps:** update golang.org/x/exp digest to 9b4947d
([#190](#190))
([8c427e9](8c427e9))
* **deps:** update module github.com/canonical/gomaasclient to v0.7.0
([#197](#197))
([f43a5ba](f43a5ba))
* **deps:** update module github.com/validator-labs/validator to v0.1.8
([#120](#120))
([fe587c6](fe587c6))
* **deps:** update module github.com/vmware/govmomi to v0.42.0
([#172](#172))
([f0488c9](f0488c9))


### Refactoring

* move vsphere account under auth to match new plugin api
([#189](#189))
([90352e1](90352e1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer refactoring Refactoring / tech debt size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🌱 Support inline auth for vCenter in addition to k8s secret
3 participants