github doitintl/kube-no-trouble 0.5.0

latest releases: nightly-0.7.2-6-g94cd462, nightly-0.7.2-2-g342ce7e, 0.7.2...
2 years ago

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)

Don't miss a new kube-no-trouble release

NewReleases is sending notifications on new releases.