-
Notifications
You must be signed in to change notification settings - Fork 154
feat(k8s): rework kubeconfig handling #4137
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
base: master
Are you sure you want to change the base?
Conversation
f967445
to
710551c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4137 +/- ##
==========================================
- Coverage 75.45% 70.89% -4.57%
==========================================
Files 202 294 +92
Lines 44323 66263 +21940
==========================================
+ Hits 33444 46975 +13531
- Misses 9653 17625 +7972
- Partials 1226 1663 +437 ☔ View full report in Codecov by Sentry. |
62cda48
to
d4ab902
Compare
AfterFunc: deleteCluster("Cluster"), | ||
})) | ||
|
||
// t.Run("copy-token", core.Test(&core.TestConfig{ |
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.
Why is this code commented?
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.
to avoid possible leaking of a token
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.
I'm not sure to follow, does this test needs to be uncommented, run and then commented again? Could you add documentation if it is the case?
07ffbaa
to
e059a23
Compare
KubeconfigAPIVersion = "v1" | ||
KubeconfigKind = "Config" | ||
installHint = `scaleway-cli (scw) is required to authenticate to the current cluster. | ||
Installation instruction: https://github.com/scaleway/scaleway-cli#installation` |
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.
Could you add documentation in the README about the feature you are trying to use? It could be a dedicated tutorial as well.
No description provided.