-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #500 from Nokel81/config-load-filter
Add option to filter invalid items when loading a config
- Loading branch information
Showing
5 changed files
with
232 additions
and
75 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
certificate-authority-data: Q0FEQVRB | ||
server: http://example.com | ||
name: "" | ||
- cluster: | ||
certificate-authority-data: Q0FEQVRBMg== | ||
server: http://example2.com | ||
insecure-skip-tls-verify: true | ||
name: cluster2 | ||
|
||
contexts: | ||
- context: | ||
cluster: cluster1 | ||
user: user1 | ||
name: context1 | ||
- context: | ||
cluster: cluster2 | ||
namespace: namespace2 | ||
user: user2 | ||
name: context2 | ||
- context: | ||
cluster: cluster2 | ||
user: user3 | ||
name: passwd | ||
|
||
current-context: context2 | ||
kind: Config | ||
preferences: {} | ||
users: | ||
- name: user1 | ||
user: | ||
client-certificate-data: VVNFUl9DQURBVEE= | ||
client-key-data: VVNFUl9DS0RBVEE= | ||
- name: user2 | ||
user: | ||
client-certificate-data: VVNFUjJfQ0FEQVRB | ||
client-key-data: VVNFUjJfQ0tEQVRB | ||
- name: user3 | ||
user: | ||
username: foo | ||
password: bar |
Oops, something went wrong.