-
Notifications
You must be signed in to change notification settings - Fork 30
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
Make CA certificate optional in config #105
Conversation
0836665
to
f5ad63c
Compare
Codecov Report
@@ Coverage Diff @@
## master #105 +/- ##
==========================================
+ Coverage 82.13% 82.14% +0.01%
==========================================
Files 16 16
Lines 1377 1378 +1
==========================================
+ Hits 1131 1132 +1
Misses 246 246
Continue to review full report at Codecov.
|
В Readme укажем об опциональности параметра? |
Что-то я не вижу где там написано, что он прям обязательно нужен. Есть просто упоминания... Мы точно хотим акцентировать на этом внимание? 🤔 |
|
f5ad63c
to
486369f
Compare
Строго говоря, тут про конкретный пример деплоя, а там она явно используется: https://github.com/2gis/k8s-handle-example/blob/without-kubeconfig/config.yaml#L5. Впрочем, пустое значение тоже работает, поэтому ок, добавил пометку.
Там же выше "Create kubeconfig(~/.kube/config) or skip if you already have one". 👼 |
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.
06dbc16
486369f
to
06dbc16
Compare
CA certificate is not required by Kubernetes client actually: https://github.com/kubernetes-client/python/blob/v10.0.1/kubernetes/client/rest.py#L72-L77.