-
Notifications
You must be signed in to change notification settings - Fork 76
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
kubeconfig flag removed in the agent #578
Conversation
Codecov Report
@@ Coverage Diff @@
## main #578 +/- ##
==========================================
+ Coverage 67.46% 67.81% +0.35%
==========================================
Files 27 27
Lines 2410 2399 -11
==========================================
+ Hits 1626 1627 +1
+ Misses 676 664 -12
Partials 108 108
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d7eb6a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I'll refactor testutils.go as part of #586
* flag --kubeconfig removed * Changes for fetching home dir for containers * Create bootstrap kubeconfig for e2e tests * update installer e2e
What this PR does / why we need it:
This PR removes the
--kubeconfig
flag from the HostAgent to support only the bootstrap kubeconfig flow via--bootstrap-kubeconfig
flag. Some RBACs are updated as well.--kubeconfig
are updated and will use--bootstrap-kubeconfig
flag with valid bootstrap kubeconfig with only permissions to create CSR.~/.byoh/config
. Please note that this kubeconfig is the one with admin priveleges.Which issue(s) this PR fixes :
Fixes #582