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

Refactored Host Agent, Installer Integration #225

Merged
merged 1 commit into from
Nov 9, 2021
Merged

Refactored Host Agent, Installer Integration #225

merged 1 commit into from
Nov 9, 2021

Conversation

dharmjit
Copy link
Contributor

@dharmjit dharmjit commented Nov 9, 2021

  • Reverted the changes for agent installer integration
  • Added SkipInstallation, DownloadPath fields in the agent reconciler struct.
  • Initialization of Installer Type is handled in the agent reconciler
  • Agent Reconciler tests are only covering the code path for SkipInstallation is true
  • Bumped Byoh installer to bundle k8s version to v1.22.3

Signed-off-by: Dharmjit Singh [email protected]

What this PR does / why we need it:
The Installer logic is failing due to recent changes for host agent/reconciler integration. The PR removes some of the reconciler test cases and only tests the code path where SkipInstallation is true.

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

Additional information

Special notes for your reviewer
We need to rethink about the installer integration going forward so that we can have minimal coupling and more test coverage.

anusha94
anusha94 previously approved these changes Nov 9, 2021
Copy link
Contributor

@anusha94 anusha94 left a comment

Choose a reason for hiding this comment

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

Thank you for making the changes. LGTM.

Reverted the changes for agent installer integration
Added SkipInstallation, DownloadPath fields in the agent
reconciler struct.
Initialization of Installer Type is handled in the agent reconciler
Agent Reconciler tests are only covering the code path for
SkipInstallation is true
Installer k8s support bumped to v1.22.3

Signed-off-by: Dharmjit Singh <[email protected]>
Copy link
Contributor

@anusha94 anusha94 left a comment

Choose a reason for hiding this comment

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

Lgtm.

@anusha94 anusha94 merged commit b30990d into vmware-tanzu:main Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants