Commit Graph

123 Commits (6aab1337967984238dfb4483655abb03df7dde10)

Author SHA1 Message Date
Varsha Varadarajan 6aab133796
Merge pull request #42 from digitalocean/varsha/circleci
Setup CircleCI for clusterlint
2019-07-16 12:56:12 -04:00
Varsha Varadarajan 2e3ccabe94 Delete setup for github actions 2019-07-16 12:51:24 -04:00
Varsha Varadarajan a87e1dbd2f Add circleci config yml 2019-07-16 12:50:41 -04:00
Varsha Varadarajan 2bab43d7ab
Merge pull request #41 from digitalocean/fix-typo
README.md: fix typo
2019-07-16 08:49:31 -04:00
Fatih Arslan ffd3d3ec34 README.md: fix typo 2019-07-16 15:36:47 +03:00
Varsha Varadarajan 126ba2b51e
Merge pull request #40 from digitalocean/varsha/fix-check-filter-bug
Fix check filter bug: check if includeGroups and excludeGroups are mutually exclusive
2019-07-15 16:00:01 -04:00
Varsha Varadarajan 2e791b3ad5 Fix check filter bug: check if includeGroups and excludeGroups are mutually exclusive 2019-07-15 15:53:43 -04:00
Varsha Varadarajan 2ea1365c7b
Merge pull request #39 from digitalocean/varsha/export-kube-client
Export kubernetes client to use externally
2019-07-12 13:39:45 -04:00
Varsha Varadarajan 7e161b4b3e Export kubernetes client to use externally 2019-07-12 13:33:17 -04:00
Varsha Varadarajan 48f302945b
Merge pull request #36 from digitalocean/varsha/refactor-run-checks
Move run checks into the checks package
2019-07-11 15:20:26 -04:00
Varsha Varadarajan 848515cb45 Introduce DiagnosticFilter to store fields based on which diagnostics will be filtered 2019-07-11 15:20:05 -04:00
Varsha Varadarajan 7b76406624 Move run checks into the checks package 2019-07-11 15:05:45 -04:00
Varsha Varadarajan 4ac0ffbf52
Merge pull request #37 from digitalocean/varsha/build-client-from-byte-array
Add method to build a kubernetes client from yaml
2019-07-11 12:51:30 -04:00
Varsha Varadarajan e90a5c3367 Add method to build a kubernetes client from yaml 2019-07-10 17:12:47 -04:00
Varsha Varadarajan 46e847dbdd
Merge pull request #35 from digitalocean/varsha/resource-requests
Check if resource requests and limits are set on pods
2019-07-10 12:52:27 -04:00
Varsha Varadarajan b39a543777 Check if resource requests and limits are set on pods 2019-07-08 11:24:05 -04:00
Varsha Varadarajan 31b5ec1560
Merge pull request #34 from digitalocean/varsha/color
Display colorized diagnostics when option is plaintext
2019-07-02 19:33:48 -04:00
Varsha Varadarajan dc2bbaec57
Merge pull request #21 from digitalocean/varsha/annotations
Check for clusterlint specific annotation to disable checks for special objects.
2019-07-02 19:27:22 -04:00
Varsha Varadarajan cf6e90d6a5 Display colorized diagnostics when option is plaintext 2019-07-02 19:26:57 -04:00
Varsha Varadarajan 98cd5d2b7a Filter diagnostics based on enabled checks while writing diagnostics to stdout 2019-07-02 19:20:26 -04:00
Varsha Varadarajan 48d5d0b6f2 Add github.com/fatih/color to vendor 2019-07-02 19:18:45 -04:00
Varsha Varadarajan 5f62173e0b Check for clusterlint specific annotation to disable checks for special objects. 2019-07-02 19:17:53 -04:00
Varsha Varadarajan ba57ef4acc
Merge pull request #32 from digitalocean/varsha/webhook
Admission webhook check: Add a doks specific error is webhook applies to objects in kube-system namespace
2019-07-02 19:13:40 -04:00
Varsha Varadarajan 279004da51 Check if webhook config references a service before throwing an error 2019-07-02 17:39:26 -04:00
Varsha Varadarajan 5a246761b2 Update checks.md for admission controller webhooks 2019-07-02 17:18:05 -04:00
Varsha Varadarajan 92e0e9dfe2 Admission webhook check: Add a doks specific error is webhook applies to objects in kube-system namespace 2019-07-02 17:18:05 -04:00
Varsha Varadarajan dc2b0df5c3 Rename unused-pvc.go => unused_pvc.go 2019-07-02 17:16:40 -04:00
Adam Wolfe Gordon a99239de80
Merge pull request #33 from digitalocean/awg/open-source
Prepare codebase for open source release
2019-07-02 14:38:58 -06:00
Adam Wolfe Gordon 401837a7aa Add CI check for license headers
Otherwise no one is ever going to add them.
2019-07-02 13:58:00 -06:00
Adam Wolfe Gordon 2b080d1b9a Add license header to all files 2019-07-02 13:30:42 -06:00
Adam Wolfe Gordon b7257f4246 Add contributing guide and license
In preparation for open source release.
2019-07-02 13:30:14 -06:00
Varsha Varadarajan 1c5e8cbfec
Merge pull request #28 from digitalocean/varsha/unused-secrets
Unused secrets: check if there are unused secrets in the cluster.
2019-07-01 21:21:36 -04:00
Varsha Varadarajan 9dc3f3f18c Check for references to secret in projected volume. 2019-07-01 21:15:14 -04:00
Varsha Varadarajan 1e9e19a078 Unused secrets: check if there are unused secrets in the cluster. 2019-07-01 21:09:07 -04:00
Varsha Varadarajan f9de06ea39
Merge pull request #25 from digitalocean/varsha/unused-cm
Unused config map: check if there are unused configmaps in the cluster.
2019-07-01 21:06:25 -04:00
Varsha Varadarajan 74152bddb0 Use empty struct in map while checking for object references 2019-07-01 21:05:56 -04:00
Varsha Varadarajan d0eb5a4b0a Check for config map references in nodes and projected volumes 2019-07-01 10:41:37 -04:00
Varsha Varadarajan 2d097ba31a Unused config map: check if there are unused configmaps in the cluster. 2019-07-01 09:31:09 -04:00
Varsha Varadarajan 5bbf305db0
Merge pull request #27 from digitalocean/varsha/unused-pvc
Unused PVC: Check for unused claims in the cluster.
2019-07-01 09:26:15 -04:00
Varsha Varadarajan 05502e3b32 Unused PVC: Check for unused claims in the cluster. 2019-07-01 09:25:46 -04:00
Varsha Varadarajan f1a6a18208
Merge pull request #31 from digitalocean/varsha/cli-options
Provide cli flags for accepting list of groups and checks to run/ignore
2019-06-30 14:10:58 -04:00
Varsha Varadarajan eee7b8c4a8 Use constructor to initialize instances of CheckFilter 2019-06-30 14:10:34 -04:00
Varsha Varadarajan ad278622e4 Show an error if group not found. 2019-06-28 13:44:46 -04:00
Varsha Varadarajan 4fdebb22d3 Use check filter to store groups and checks to run/ignore 2019-06-28 13:40:52 -04:00
Varsha Varadarajan 4dbcbefec6 Run command: provide option to whitelist and blacklist checks 2019-06-28 10:44:53 -04:00
Varsha Varadarajan 1b032d145b Run command: Provide options to whitelist and blacklist groups 2019-06-28 10:01:02 -04:00
Varsha Varadarajan d97a10d1b3 List command: Provide option to whitelist and blacklist groups for listing 2019-06-28 09:42:21 -04:00
Varsha Varadarajan f146baf9e0
Merge pull request #30 from digitalocean/varsha/fix-golint-errors
Fix golint errors.
2019-06-28 08:38:26 -04:00
Varsha Varadarajan f0618e9133 Fix golint errors. 2019-06-28 08:33:20 -04:00
Varsha Varadarajan a9460b1dc7
Merge pull request #29 from digitalocean/awg/ci
Add basic CI checks using GH actions
2019-06-28 08:10:21 -04:00