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

Cherry-pick PR #382 to release-v1.3 #390

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

thunderboltsid
Copy link
Contributor

@thunderboltsid thunderboltsid commented Mar 13, 2024

Cherry-Pick Details

This PR also merges commits from #391 as E2Es won't pass without Kubernetes 1.29 support on that PR and unit tests on this PR won't pass without changes in that PR.

This required two changes:
- Remove hostAliases from kube-vip podspec
    This is addressed by adding entries directly to the /etc/hosts
- Do a super-admin.conf switcheroo for the kube-vip static pod
    Add pre and post kubeadm commands for handling kubernetes
    versions v1.29.0+. The prekubeadm command checks if kubeadm
    init has been run and if it is, it replaces the kubeconfig
    hostPath in kube-vip static pod from admin.conf to the
    super-admin.conf. The postkubeadm command checks if
    kubeadm init has been run and if it is, it changes the
    hostPath in kube-vip static pod from super-admin.conf
    back to admin.conf.
@thunderboltsid
Copy link
Contributor Author

Need to wait for #391 to merge to unblock the broken CI Pipeline

@thunderboltsid
Copy link
Contributor Author

/hold

yannickstruyf3
yannickstruyf3 previously approved these changes Mar 13, 2024
Go1.22 broke controller-gen version 0.8.0 through 0.13.0.
Go1.22 drops support for GO111MODULE=off go get -u in legacy gopath
mode.
Copy link

✅ None of your dependencies violate policy!

Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 12.18%. Comparing base (d0ec5c3) to head (d9bf60a).

Additional details and impacted files
@@               Coverage Diff                @@
##           release-v1.3     #390      +/-   ##
================================================
- Coverage         12.53%   12.18%   -0.35%     
================================================
  Files                20       21       +1     
  Lines              2003     2060      +57     
================================================
  Hits                251      251              
- Misses             1752     1809      +57     

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

@thunderboltsid
Copy link
Contributor Author

/retest

Copy link
Contributor

@tuxtof tuxtof left a comment

Choose a reason for hiding this comment

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

LGTM

@thunderboltsid
Copy link
Contributor Author

/hold cancel

@thunderboltsid thunderboltsid merged commit 1b1acb7 into release-v1.3 Mar 13, 2024
12 of 14 checks passed
@thunderboltsid thunderboltsid deleted the jira/krbn-8081 branch March 13, 2024 14:12
@tuxtof tuxtof added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants