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

Fix workload cluster kube-vip update #7624

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

rahulbabu95
Copy link
Member

Issue #, if available:
When updating kube-vip manifest for workload cluster, we need the remote client to be able to create the config map with kube-vip manifest data. This change uses remote client instead of management client to create the kube-vip config map for InPlace upgrades. Additionally the upgrader pod is also set to restart on failure as a retry mechanism.

Description of changes:

Testing (if applicable):
Tested locally for workload cluster upgrade using InPlace strategy

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 17, 2024
Copy link

codecov bot commented Feb 17, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (4583834) 73.48% compared to head (b8b4c20) 73.53%.
Report is 101 commits behind head on main.

Files Patch % Lines
controllers/controlplaneupgrade_controller.go 58.82% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7624      +/-   ##
==========================================
+ Coverage   73.48%   73.53%   +0.05%     
==========================================
  Files         579      588       +9     
  Lines       36357    37178     +821     
==========================================
+ Hits        26718    27340     +622     
- Misses       7875     8039     +164     
- Partials     1764     1799      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@abhinavmpandey08 abhinavmpandey08 left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavmpandey08

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

@abhinavmpandey08 abhinavmpandey08 merged commit 7349215 into aws:main Feb 17, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants