Skip to content

Releases: doitintl/kube-no-trouble

0.5.0

02 Aug 10:13
e8065c4
Compare
Choose a tag to compare

The main theme of this release is increased coverage - namely resources that will be removed in Kubernetes versions 1.22 and 1.25 (#156, #159, #160, #163, #165, #166, #168, #169, #170, #171, #172, #173, #174, #175).

We also worked on making the tool more user friendly and useable out of the box:

  • Detecting K8s version (#139) and display only relevant results (#182)
  • Support for multiple kubeconfig files (#191) and selecting K8S context (#194)
  • Building ARM binaries for Linux and Mac (#133)

Fixed a few bugs too, and increased test coverage, sped up build process. And bIg 👏 to @david-doit-intl for laying out foundations for integration testing (#152).

Thanks to everyone who contributed to this, whether by opening PRs, raising issues or helping us to test new features and fixes! 👏 👏 👏

CHANGELOG:

Features:

  • feat: Add --context (-x) option to select Kube context (194 by stepanstipl)
  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Fix nil namespace helm (198 by stepanstipl)
  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

  • chore: Add additional trace output in rego Eval() fn (197 by stepanstipl)
  • chore: Make UPX go faster (143 by david-doit-intl)
  • ci: Correct reference to non-existing build artifact (148 by stepanstipl)
  • ci: Integration test (152 by david-doit-intl)
  • dep: Docker bump golang from 1.16.2-alpine3.12 to 1.16.4-alpine3.12 (141 by dependabot)
  • dep: Docker bump golang from 1.16.4-alpine3.12 to 1.16.5-alpine3.12 (153 by dependabot)
  • dep: Go bump github.com/open-policy-agent/opa from 0.28.0 to 0.31.0 (199 by dependabot)
  • fix: Fix for wrong file path for downloaded archive in integration test (157 by david-doit-intl)
  • fix: Helm v3 collector name and refactoring to be test-friendly (196 by stepanstipl)
  • fix: Minor fixes of API versions in cluster collector (167 by stepanstipl)
  • ref: Adjust log level to debug for expected situation when resources are not available (187 by stepanstipl)
  • ref: Continue if individual manifest fails (161 by david-doit-intl)
  • test: Fix slow TestNewClusterCollectorValidEmptyCollector (158 by stepanstipl)

nightly-0.4.0-112-ge8065c4

28 Jul 12:28
e8065c4
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add --context (-x) option to select Kube context (194 by stepanstipl)
  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Fix nil namespace helm (198 by stepanstipl)
  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

  • Fix: Helm v3 collector name and refactoring to be test-friendly (196 by stepanstipl)
  • chore: Add additional trace output in rego Eval() fn (197 by stepanstipl)
  • chore: Make UPX go faster (143 by david-doit-intl)
  • ci: Correct reference to non-existing build artifact (148 by stepanstipl)
  • ci: Integration test (152 by david-doit-intl)
  • dep: Docker bump golang from 1.16.2-alpine3.12 to 1.16.4-alpine3.12 (141 by dependabot)
  • dep: Docker bump golang from 1.16.4-alpine3.12 to 1.16.5-alpine3.12 (153 by dependabot)
  • dep: Go bump github.com/open-policy-agent/opa from 0.28.0 to 0.31.0 (199 by dependabot)
  • fix: Fix for wrong file path for downloaded archive in integration test (157 by david-doit-intl)
  • fix: Minor fixes of API versions in cluster collector (167 by stepanstipl)
  • ref: Adjust log level to debug for expected situation when resources are not available (187 by stepanstipl)
  • ref: Continue if individual manifest fails (161 by david-doit-intl)
  • test: Fix slow TestNewClusterCollectorValidEmptyCollector (158 by stepanstipl)

nightly-0.4.0-106-g139489a

27 Jul 10:55
139489a
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add --context (-x) option to select Kube context (194 by stepanstipl)
  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-104-gb08cb07

27 Jul 02:22
b08cb07
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add --context (-x) option to select Kube context (194 by stepanstipl)
  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-99-gc181855

23 Jul 02:20
c181855
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add --context (-x) option to select Kube context (194 by stepanstipl)
  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-95-g818c519

17 Jul 02:19
818c519
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)
  • feat: Support multiple kubeconfig files (191 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-91-g48fce8e

16 Jul 08:37
48fce8e
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-89-g35ead35

07 Jul 02:18
35ead35
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)
  • feat: Filter non-relevant results (182 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-85-g8c9243e

03 Jul 02:22
8c9243e
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other:

nightly-0.4.0-83-g055df4e

18 Jun 02:27
055df4e
Compare
Choose a tag to compare
Pre-release

Features:

  • feat: Add coverage for deprecated Storage resources - storage.k8s.io/v1beta1 API group (156 by stepanstipl)
  • feat: Add support for custom resources (111 by stepanstipl)
  • feat: Build arm for linux and darwin (144 by david-doit-intl)
  • feat: Configurable log level (127 by david-doit-intl)
  • feat: Cover deprecated admissionregistration.k8s.io/v1beta1 API group (170 by stepanstipl)
  • feat: Cover deprecated apiextensions.k8s.io/v1beta1 API group (169 by stepanstipl)
  • feat: Cover deprecated apiregistration.k8s.io/v1beta1 API group (168 by stepanstipl)
  • feat: Cover deprecated auth*.k8s.io/v1beta1 API groups (166 by stepanstipl)
  • feat: Cover deprecated batch/v1beta1 API group - CronJob (175 by stepanstipl)
  • feat: Cover deprecated certificates.k8s.io/v1beta1 API group (165 by stepanstipl)
  • feat: Cover deprecated discovery.k8s.io/v1beta1 API group - EndpointSlice (174 by stepanstipl)
  • feat: Cover deprecated networking.k8s.io/v1beta1 - Ingress* resources (163 by stepanstipl)
  • feat: Cover deprecated node.k8s.io/v1beta1 API group (171 by stepanstipl)
  • feat: Cover deprecated policy/v1beta1 API group - PodDisruptionBudget (172 by stepanstipl)
  • feat: Cover deprecated rbac.authorization.k8s.io/v1beta1 - RBAC resources (160 by stepanstipl)
  • feat: Cover deprecated scheduling.k8s.io/v1beta1 - PriorityClass resource (159 by stepanstipl)
  • feat: Cover removed policy/v1beta1 API group - PodSecurityPolicy (173 by stepanstipl)
  • feat: Detect K8s version (139 by stepanstipl)

Fixes:

  • fix: Remove LeaseList and add Lease to cluster collector, add test for Lease (164 by stepanstipl)

Internal/Other: