mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue specify custom ca file to verify the keystone server <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: Sometimes the keystone server's certificate is self-signed, mainly used for internal development, testing and etc. For this kind of ca, we need a way to verify the keystone server. Otherwise, below error will occur. > x509: certificate signed by unknown authority This patch provide a way to pass in a ca file to verify the keystone server when starting `kube-apiserver`. **Which issue this PR fixes** : fixes #22695, #24984 **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ``` release-note ``` |
||
---|---|---|
.. | ||
authenticator | ||
filters | ||
metrics | ||
openapi | ||
request | ||
testing | ||
BUILD | ||
OWNERS | ||
api_installer.go | ||
api_installer_test.go | ||
apiserver.go | ||
apiserver_test.go | ||
doc.go | ||
errors.go | ||
errors_test.go | ||
negotiate.go | ||
negotiate_test.go | ||
proxy.go | ||
proxy_test.go | ||
resthandler.go | ||
resthandler_test.go | ||
serviceerror.go | ||
validator.go | ||
validator_test.go | ||
watch.go | ||
watch_test.go |