-
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
Bootstrap kubeconfig controller #586
Bootstrap kubeconfig controller #586
Conversation
613d155
to
0ca71ca
Compare
Codecov Report
@@ Coverage Diff @@
## main #586 +/- ##
==========================================
- Coverage 67.75% 67.41% -0.34%
==========================================
Files 26 27 +1
Lines 2388 2440 +52
==========================================
+ Hits 1618 1645 +27
- Misses 662 679 +17
- Partials 108 116 +8
|
51a6ed4
to
042cc55
Compare
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.
Minor comments, otherwise LGTM.
Are we going to document these changes in separate PR?
@Ankitasw Yes! |
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.
Some basic nits only, LGTM.
a10bf84
to
a524548
Compare
Created a new issue for webhook #605 |
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
What this PR does / why we need it:
This PR adds a new CRD
BootstrapKubeconfig
and corresponding controllers and tests.Whenever a CR of Kind
BootstrapKubeconfig
is created, we will generate a bootstrap kubeconfig and add it to theStatus.BootstrapKubeconfigData
field.This data can be consumed by the user to dump in into a file and pass it on to the agent to be used for the bootstrap-token workflow.
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 #597