-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cluster endpoint validator (#19)
* Add endpoint validator Signed-off-by: Eytan Avisror <[email protected]> * Update README.md Signed-off-by: Eytan Avisror <[email protected]> * Update validator_test.go Signed-off-by: Eytan Avisror <[email protected]>
- Loading branch information
Eytan Avisror
authored
Mar 7, 2022
1 parent
25fe93e
commit 183ffc7
Showing
11 changed files
with
659 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ require ( | |
k8s.io/api v0.21.3 | ||
k8s.io/apimachinery v0.21.3 | ||
k8s.io/client-go v0.21.3 | ||
k8s.io/kubectl v0.21.3 | ||
) |
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,14 @@ | ||
apiVersion: v1alpha1 | ||
kind: ClusterValidator | ||
metadata: | ||
name: field-validation | ||
spec: | ||
configuration: | ||
successThreshold: 3 | ||
failureThreshold: 3 | ||
interval: 1ms | ||
endpoints: | ||
cluster: | ||
- name: ETCD Validation | ||
uri: "/readyz?include=etcd&verbose" | ||
required: true |
Oops, something went wrong.