-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the system certificate store if no certificates are specified. (#…
…1261) * Use the system certificate store if no certificates are specified. * Don't use ServerCertificateCustomValidationCallback when no CA is set
- Loading branch information
1 parent
142fd14
commit 729b10c
Showing
3 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/KubernetesClient.Tests/assets/kubeconfig.tls-no-skip.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Sample file based on https://kubernetes.io/docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/ | ||
# WARNING: File includes minor fixes | ||
--- | ||
current-context: federal-context | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
insecure-skip-tls-verify: false | ||
server: https://horse.org:443 | ||
name: horse-cluster | ||
contexts: | ||
- context: | ||
cluster: horse-cluster | ||
namespace: chisel-ns | ||
user: green-user | ||
name: federal-context | ||
kind: Config | ||
users: | ||
- name: green-user | ||
user: | ||
password: secret | ||
username: admin |