-
Notifications
You must be signed in to change notification settings - Fork 257
feature(lint): Add linter to priorityClassName #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @rhybrillou and @janisz! Can you spend some time reviewing this PR? If there's any feedback about this approach, I will be happy to follow up on it. 😄 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #926 +/- ##
===========================================
- Coverage 62.36% 28.64% -33.72%
===========================================
Files 197 203 +6
Lines 4854 5872 +1018
===========================================
- Hits 3027 1682 -1345
- Misses 1439 4075 +2636
+ Partials 388 115 -273
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
13ca337
to
0010896
Compare
This comment was marked as resolved.
This comment was marked as resolved.
@rhybrillou can you review this PR? |
@jonathanmdr Thank you very much for your contribution. I'll target a new kube-linter release including it by the end of the week. |
This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [docker.io/stackrox/kube-linter](https://kubelinter.io) ([source](https://github.com/stackrox/kube-linter)) | image-name | minor | `v0.6.5-alpine` -> `v0.7.4-alpine` | --- ### Release Notes <details> <summary>stackrox/kube-linter (docker.io/stackrox/kube-linter)</summary> ### [`v0.7.4`](https://github.com/stackrox/kube-linter/releases/tag/v0.7.4) [Compare Source](stackrox/kube-linter@v0.7.3...v0.7.4) <!-- Release notes generated using configuration in .github/release.yml at v0.7.4 --> #### What's Changed ##### Other Changes - Add new check job-ttl-seconds-after-finished ([#​963](stackrox/kube-linter#963)) by [@​wissamir](https://github.com/wissamir) in [#​964](stackrox/kube-linter#964) **Full Changelog**: <stackrox/kube-linter@v0.7.3...v0.7.4> ### [`v0.7.3`](https://github.com/stackrox/kube-linter/releases/tag/v0.7.3) [Compare Source](stackrox/kube-linter@v0.7.2...v0.7.3) <!-- Release notes generated using configuration in .github/release.yml at v0.7.3 --> #### What's Changed ##### ✔️ New checks - feature(lint): Add linter to priorityClassName by [@​jonathanmdr](https://github.com/jonathanmdr) in [#​926](stackrox/kube-linter#926) ##### Other Changes - chore(deps): bump github.com/cert-manager/cert-manager from 1.17.0 to 1.17.1 by [@​dependabot](https://github.com/dependabot) in [#​918](stackrox/kube-linter#918) - chore(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 by [@​dependabot](https://github.com/dependabot) in [#​920](stackrox/kube-linter#920) - chore(deps): bump github.com/golangci/golangci-lint from 1.64.5 to 1.64.6 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​921](stackrox/kube-linter#921) - chore(deps): bump github.com/golangci/golangci-lint from 1.64.6 to 1.64.7 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​925](stackrox/kube-linter#925) - chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 by [@​dependabot](https://github.com/dependabot) in [#​927](stackrox/kube-linter#927) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​923](stackrox/kube-linter#923) - chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.0 by [@​dependabot](https://github.com/dependabot) in [#​929](stackrox/kube-linter#929) - chore(deps): bump github.com/containerd/containerd from 1.7.24 to 1.7.27 by [@​dependabot](https://github.com/dependabot) in [#​930](stackrox/kube-linter#930) - chore(deps): bump github.com/golangci/golangci-lint from 1.64.7 to 1.64.8 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​936](stackrox/kube-linter#936) - chore(deps): bump helm.sh/helm/v3 from 3.17.1 to 3.17.2 by [@​dependabot](https://github.com/dependabot) in [#​934](stackrox/kube-linter#934) - chore(deps): bump docker/login-action from 3.3.0 to 3.4.0 by [@​dependabot](https://github.com/dependabot) in [#​937](stackrox/kube-linter#937) - chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​938](stackrox/kube-linter#938) - chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​939](stackrox/kube-linter#939) - chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 by [@​dependabot](https://github.com/dependabot) in [#​935](stackrox/kube-linter#935) - chore(lint): update golangci-lint to v2.0.2 by [@​mmorel-35](https://github.com/mmorel-35) in [#​941](stackrox/kube-linter#941) - chore(deps): bump helm.sh/helm/v3 from 3.17.2 to 3.17.3 by [@​dependabot](https://github.com/dependabot) in [#​943](stackrox/kube-linter#943) - chore(deps): bump github.com/kedacore/keda/v2 from 2.16.1 to 2.17.0 by [@​dependabot](https://github.com/dependabot) in [#​942](stackrox/kube-linter#942) - chore(deps): bump github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.2 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​944](stackrox/kube-linter#944) - chore(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 by [@​dependabot](https://github.com/dependabot) in [#​945](stackrox/kube-linter#945) - chore(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2 by [@​dependabot](https://github.com/dependabot) in [#​948](stackrox/kube-linter#948) - chore(deps): bump github.com/cert-manager/cert-manager from 1.17.1 to 1.17.2 by [@​dependabot](https://github.com/dependabot) in [#​951](stackrox/kube-linter#951) - chore(deps): bump github.com/golangci/golangci-lint/v2 from 2.1.2 to 2.1.5 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​952](stackrox/kube-linter#952) - chore(deps): bump github.com/golangci/golangci-lint/v2 from 2.1.5 to 2.1.6 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​954](stackrox/kube-linter#954) - chore(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 by [@​dependabot](https://github.com/dependabot) in [#​956](stackrox/kube-linter#956) - chore(deps): bump github.com/kedacore/keda/v2 from 2.17.0 to 2.17.1 by [@​dependabot](https://github.com/dependabot) in [#​958](stackrox/kube-linter#958) - chore(deps): bump helm.sh/helm/v3 from 3.17.3 to 3.18.0 by [@​dependabot](https://github.com/dependabot) in [#​957](stackrox/kube-linter#957) - chore(deps): bump helm.sh/helm/v3 from 3.18.0 to 3.18.2 by [@​dependabot](https://github.com/dependabot) in [#​959](stackrox/kube-linter#959) - chore(deps): bump github.com/cloudflare/circl from 1.5.0 to 1.6.1 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​961](stackrox/kube-linter#961) - chore(deps): bump github.com/cert-manager/cert-manager from 1.17.2 to 1.18.0 by [@​dependabot](https://github.com/dependabot) in [#​962](stackrox/kube-linter#962) **Full Changelog**: <stackrox/kube-linter@v0.7.2...v0.7.3> ### [`v0.7.2`](https://github.com/stackrox/kube-linter/releases/tag/v0.7.2) [Compare Source](stackrox/kube-linter@v0.7.1...v0.7.2) <!-- Release notes generated using configuration in .github/release.yml at v0.7.2 --> #### What's Changed ##### Other Changes - chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​864](stackrox/kube-linter#864) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​857](stackrox/kube-linter#857) - chore(deps): bump helm.sh/helm/v3 from 3.16.2 to 3.16.3 by [@​dependabot](https://github.com/dependabot) in [#​868](stackrox/kube-linter#868) - chore(deps): bump github.com/cert-manager/cert-manager from 1.16.1 to 1.16.2 by [@​dependabot](https://github.com/dependabot) in [#​869](stackrox/kube-linter#869) - chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by [@​dependabot](https://github.com/dependabot) in [#​872](stackrox/kube-linter#872) - chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.7 by [@​dependabot](https://github.com/dependabot) in [#​870](stackrox/kube-linter#870) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​871](stackrox/kube-linter#871) - chore: enable testifylint linter by [@​mmorel-35](https://github.com/mmorel-35) in [#​874](stackrox/kube-linter#874) - chore(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1 by [@​dependabot](https://github.com/dependabot) in [#​879](stackrox/kube-linter#879) - chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​880](stackrox/kube-linter#880) - chore(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 by [@​dependabot](https://github.com/dependabot) in [#​881](stackrox/kube-linter#881) - chore(deps): bump docker/setup-buildx-action from 3.7.1 to 3.8.0 by [@​dependabot](https://github.com/dependabot) in [#​882](stackrox/kube-linter#882) - chore(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 by [@​dependabot](https://github.com/dependabot) in [#​885](stackrox/kube-linter#885) - chore: bump golangci-lint to v1.63.4 by [@​stehessel](https://github.com/stehessel) in [#​889](stackrox/kube-linter#889) - fix: dependabot directory tools path by [@​stehessel](https://github.com/stehessel) in [#​888](stackrox/kube-linter#888) - chore(deps): bump golang.org/x/net to 0.33.0 by [@​rhybrillou](https://github.com/rhybrillou) in [#​892](stackrox/kube-linter#892) - chore: bump go-git by [@​stehessel](https://github.com/stehessel) in [#​890](stackrox/kube-linter#890) - chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​893](stackrox/kube-linter#893) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​891](stackrox/kube-linter#891) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.76.2 to 0.79.2 by [@​dependabot](https://github.com/dependabot) in [#​887](stackrox/kube-linter#887) - chore(deps): bump github.com/kedacore/keda/v2 from 2.15.1 to 2.16.1 by [@​dependabot](https://github.com/dependabot) in [#​886](stackrox/kube-linter#886) - chore(deps): bump github.com/cert-manager/cert-manager from 1.16.2 to 1.16.3 by [@​dependabot](https://github.com/dependabot) in [#​897](stackrox/kube-linter#897) - chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.7.1 to 4.8.0 by [@​dependabot](https://github.com/dependabot) in [#​896](stackrox/kube-linter#896) - chore(deps): bump codecov/codecov-action from 5.1.2 to 5.2.0 by [@​dependabot](https://github.com/dependabot) in [#​898](stackrox/kube-linter#898) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​895](stackrox/kube-linter#895) - chore(deps): bump helm.sh/helm/v3 from 3.16.3 to 3.17.0 by [@​dependabot](https://github.com/dependabot) in [#​900](stackrox/kube-linter#900) - chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.8.0 to 4.8.1 by [@​dependabot](https://github.com/dependabot) in [#​901](stackrox/kube-linter#901) - chore(deps): bump codecov/codecov-action from 5.2.0 to 5.3.1 by [@​dependabot](https://github.com/dependabot) in [#​902](stackrox/kube-linter#902) - Update startup-port.yaml to replace liveness by startup by [@​rmannibucau](https://github.com/rmannibucau) in [#​876](stackrox/kube-linter#876) - chore(deps): bump github.com/cert-manager/cert-manager from 1.16.3 to 1.17.0 by [@​dependabot](https://github.com/dependabot) in [#​903](stackrox/kube-linter#903) - chore(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 by [@​dependabot](https://github.com/dependabot) in [#​904](stackrox/kube-linter#904) - chore(deps): bump sigstore/cosign-installer from 3.7.0 to 3.8.0 by [@​dependabot](https://github.com/dependabot) in [#​906](stackrox/kube-linter#906) - chore(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0 by [@​dependabot](https://github.com/dependabot) in [#​907](stackrox/kube-linter#907) - chore(deps): Switch to sigs.k8s.io/yaml by [@​mikelolasagasti](https://github.com/mikelolasagasti) in [#​909](stackrox/kube-linter#909) - chore(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by [@​dependabot](https://github.com/dependabot) in [#​912](stackrox/kube-linter#912) - chore(deps): bump helm.sh/helm/v3 from 3.17.0 to 3.17.1 by [@​dependabot](https://github.com/dependabot) in [#​914](stackrox/kube-linter#914) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​911](stackrox/kube-linter#911) - chore(deps): bump github.com/golangci/golangci-lint from 1.63.4 to 1.64.5 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​910](stackrox/kube-linter#910) - chore(deps): bump docker/setup-buildx-action from 3.9.0 to 3.10.0 by [@​dependabot](https://github.com/dependabot) in [#​917](stackrox/kube-linter#917) - chore(deps): bump sigstore/cosign-installer from 3.8.0 to 3.8.1 by [@​dependabot](https://github.com/dependabot) in [#​916](stackrox/kube-linter#916) - feature(lint): Adds a new template linter to check the restart policy for all deployments like objects by [@​jonathanmdr](https://github.com/jonathanmdr) in [#​915](stackrox/kube-linter#915) #### New Contributors - [@​mmorel-35](https://github.com/mmorel-35) made their first contribution in [#​874](stackrox/kube-linter#874) - [@​stehessel](https://github.com/stehessel) made their first contribution in [#​889](stackrox/kube-linter#889) - [@​rmannibucau](https://github.com/rmannibucau) made their first contribution in [#​876](stackrox/kube-linter#876) - [@​mikelolasagasti](https://github.com/mikelolasagasti) made their first contribution in [#​909](stackrox/kube-linter#909) **Full Changelog**: <stackrox/kube-linter@v0.7.1...v0.7.2> ### [`v0.7.1`](https://github.com/stackrox/kube-linter/releases/tag/v0.7.1) [Compare Source](stackrox/kube-linter@v0.7.0...v0.7.1) <!-- Release notes generated using configuration in .github/release.yml at v0.7.1 --> #### What's Changed ##### Other Changes - chore(deps): remove replace in go.mod by [@​rhybrillou](https://github.com/rhybrillou) in [#​863](stackrox/kube-linter#863) **Full Changelog**: <stackrox/kube-linter@v0.7.0...v0.7.1> ### [`v0.7.0`](https://github.com/stackrox/kube-linter/releases/tag/v0.7.0) [Compare Source](stackrox/kube-linter@v0.6.8...v0.7.0) <!-- Release notes generated using configuration in .github/release.yml at v0.7.0 --> #### What's Changed ##### 🚀 Features - Update unset-memory-requirements and unset-cpu-requirements by [@​bgalek](https://github.com/bgalek) in [#​734](stackrox/kube-linter#734) ##### 🐛 Bug Fixes - Use a real check in example by [@​porridge](https://github.com/porridge) in [#​770](stackrox/kube-linter#770) ##### 🧰 Maintenance - fix: remove darwin shell hack in Makefile by [@​janisz](https://github.com/janisz) in [#​810](stackrox/kube-linter#810) ##### Other Changes - build(deps): bump helm.sh/helm/v3 from 3.14.1 to 3.14.2 by [@​dependabot](https://github.com/dependabot) in [#​733](stackrox/kube-linter#733) - chore: fix released files by [@​janisz](https://github.com/janisz) in [#​732](stackrox/kube-linter#732) - build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.1.0 by [@​dependabot](https://github.com/dependabot) in [#​737](stackrox/kube-linter#737) - build(deps): bump codecov/codecov-action from 4.0.1 to 4.1.0 by [@​dependabot](https://github.com/dependabot) in [#​738](stackrox/kube-linter#738) - build(deps): bump github.com/cert-manager/cert-manager from 1.14.2 to 1.14.3 by [@​dependabot](https://github.com/dependabot) in [#​736](stackrox/kube-linter#736) - build(deps): bump github.com/golangci/golangci-lint from 1.56.1 to 1.56.2 by [@​dependabot](https://github.com/dependabot) in [#​735](stackrox/kube-linter#735) - build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by [@​dependabot](https://github.com/dependabot) in [#​740](stackrox/kube-linter#740) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.71.2 to 0.72.0 by [@​dependabot](https://github.com/dependabot) in [#​741](stackrox/kube-linter#741) - build(deps): bump github.com/kedacore/keda/v2 from 2.13.0 to 2.13.1 by [@​dependabot](https://github.com/dependabot) in [#​742](stackrox/kube-linter#742) - build(deps): bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3 by [@​dependabot](https://github.com/dependabot) in [#​743](stackrox/kube-linter#743) - build(deps): bump github.com/cert-manager/cert-manager from 1.14.3 to 1.14.4 by [@​dependabot](https://github.com/dependabot) in [#​744](stackrox/kube-linter#744) - build(deps): bump docker/login-action from 3.0.0 to 3.1.0 by [@​dependabot](https://github.com/dependabot) in [#​745](stackrox/kube-linter#745) - build(deps): bump docker/setup-buildx-action from 3.1.0 to 3.2.0 by [@​dependabot](https://github.com/dependabot) in [#​749](stackrox/kube-linter#749) - build(deps): bump helm.sh/helm/v3 from 3.14.2 to 3.14.3 by [@​dependabot](https://github.com/dependabot) in [#​752](stackrox/kube-linter#752) - build(deps): bump github.com/golangci/golangci-lint from 1.56.2 to 1.57.0 by [@​dependabot](https://github.com/dependabot) in [#​751](stackrox/kube-linter#751) - build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible by [@​dependabot](https://github.com/dependabot) in [#​753](stackrox/kube-linter#753) - build(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​750](stackrox/kube-linter#750) - build(deps): bump github.com/golangci/golangci-lint from 1.57.0 to 1.57.1 by [@​dependabot](https://github.com/dependabot) in [#​754](stackrox/kube-linter#754) - build(deps): bump github.com/owenrumney/go-sarif/v2 from 2.3.0 to 2.3.1 by [@​dependabot](https://github.com/dependabot) in [#​755](stackrox/kube-linter#755) - build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 by [@​dependabot](https://github.com/dependabot) in [#​756](stackrox/kube-linter#756) - build(deps): bump github.com/golangci/golangci-lint from 1.57.1 to 1.57.2 by [@​dependabot](https://github.com/dependabot) in [#​758](stackrox/kube-linter#758) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.72.0 to 0.73.0 by [@​dependabot](https://github.com/dependabot) in [#​761](stackrox/kube-linter#761) - build(deps): bump docker/setup-buildx-action from 3.2.0 to 3.3.0 by [@​dependabot](https://github.com/dependabot) in [#​762](stackrox/kube-linter#762) - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 by [@​dependabot](https://github.com/dependabot) in [#​763](stackrox/kube-linter#763) - build(deps): bump github.com/sigstore/cosign/v2 from 2.2.1 to 2.2.4 by [@​dependabot](https://github.com/dependabot) in [#​764](stackrox/kube-linter#764) - build(deps): bump helm.sh/helm/v3 from 3.14.3 to 3.14.4 by [@​dependabot](https://github.com/dependabot) in [#​766](stackrox/kube-linter#766) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.73.0 to 0.73.1 by [@​dependabot](https://github.com/dependabot) in [#​767](stackrox/kube-linter#767) - build(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 by [@​dependabot](https://github.com/dependabot) in [#​768](stackrox/kube-linter#768) - build(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​765](stackrox/kube-linter#765) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.73.1 to 0.73.2 by [@​dependabot](https://github.com/dependabot) in [#​772](stackrox/kube-linter#772) - build(deps): bump github.com/cert-manager/cert-manager from 1.14.4 to 1.14.5 by [@​dependabot](https://github.com/dependabot) in [#​774](stackrox/kube-linter#774) - build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [#​775](stackrox/kube-linter#775) - build(deps): bump github.com/golangci/golangci-lint from 1.57.2 to 1.58.0 by [@​dependabot](https://github.com/dependabot) in [#​776](stackrox/kube-linter#776) - build(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​771](stackrox/kube-linter#771) - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0 by [@​dependabot](https://github.com/dependabot) in [#​780](stackrox/kube-linter#780) - build(deps): bump github.com/golangci/golangci-lint from 1.58.0 to 1.58.1 by [@​dependabot](https://github.com/dependabot) in [#​779](stackrox/kube-linter#779) - build(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​777](stackrox/kube-linter#777) - build(deps): bump github.com/golangci/golangci-lint from 1.58.1 to 1.58.2 by [@​dependabot](https://github.com/dependabot) in [#​782](stackrox/kube-linter#782) - build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 by [@​dependabot](https://github.com/dependabot) in [#​781](stackrox/kube-linter#781) - build(deps): bump helm.sh/helm/v3 from 3.14.4 to 3.15.0 by [@​dependabot](https://github.com/dependabot) in [#​783](stackrox/kube-linter#783) - build(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [#​784](stackrox/kube-linter#784) - chore(deps): bump github.com/golangci/golangci-lint from 1.58.2 to 1.59.0 by [@​dependabot](https://github.com/dependabot) in [#​788](stackrox/kube-linter#788) - chore(deps): bump helm.sh/helm/v3 from 3.15.0 to 3.15.1 by [@​dependabot](https://github.com/dependabot) in [#​789](stackrox/kube-linter#789) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.73.2 to 0.74.0 by [@​dependabot](https://github.com/dependabot) in [#​787](stackrox/kube-linter#787) - ROX-24419: Use rhacs-bot by [@​gavin-stackrox](https://github.com/gavin-stackrox) in [#​785](stackrox/kube-linter#785) - chore(deps): bump docker/login-action from 3.1.0 to 3.2.0 by [@​dependabot](https://github.com/dependabot) in [#​786](stackrox/kube-linter#786) - chore(deps): bump goreleaser/goreleaser-action from 5 to 6 by [@​dependabot](https://github.com/dependabot) in [#​793](stackrox/kube-linter#793) - chore(deps): bump github.com/cert-manager/cert-manager from 1.14.5 to 1.15.0 by [@​dependabot](https://github.com/dependabot) in [#​792](stackrox/kube-linter#792) - chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 by [@​dependabot](https://github.com/dependabot) in [#​790](stackrox/kube-linter#790) - chore(deps): bump helm.sh/helm/v3 from 3.15.1 to 3.15.2 by [@​dependabot](https://github.com/dependabot) in [#​796](stackrox/kube-linter#796) - chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 by [@​dependabot](https://github.com/dependabot) in [#​798](stackrox/kube-linter#798) - chore(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​797](stackrox/kube-linter#797) - chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.2 to 1.6.0 by [@​dependabot](https://github.com/dependabot) in [#​795](stackrox/kube-linter#795) - chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.6 to 0.7.7 by [@​dependabot](https://github.com/dependabot) in [#​799](stackrox/kube-linter#799) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.74.0 to 0.75.0 by [@​dependabot](https://github.com/dependabot) in [#​801](stackrox/kube-linter#801) - chore(deps): bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1 by [@​dependabot](https://github.com/dependabot) in [#​800](stackrox/kube-linter#800) - chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by [@​dependabot](https://github.com/dependabot) in [#​803](stackrox/kube-linter#803) - chore(deps): bump github.com/cert-manager/cert-manager from 1.15.0 to 1.15.1 by [@​dependabot](https://github.com/dependabot) in [#​802](stackrox/kube-linter#802) - chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by [@​dependabot](https://github.com/dependabot) in [#​806](stackrox/kube-linter#806) - chore(deps): bump docker/setup-buildx-action from 3.3.0 to 3.4.0 by [@​dependabot](https://github.com/dependabot) in [#​809](stackrox/kube-linter#809) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.75.0 to 0.75.1 by [@​dependabot](https://github.com/dependabot) in [#​807](stackrox/kube-linter#807) - chore: remove deprecated configs in golang-ci lint by [@​dhaus67](https://github.com/dhaus67) in [#​812](stackrox/kube-linter#812) - docs: update install section by [@​janisz](https://github.com/janisz) in [#​811](stackrox/kube-linter#811) - chore(deps): bump helm.sh/helm/v3 from 3.15.2 to 3.15.3 by [@​dependabot](https://github.com/dependabot) in [#​814](stackrox/kube-linter#814) - chore(deps): bump github.com/owenrumney/go-sarif/v2 from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [#​808](stackrox/kube-linter#808) - chore: move tools to a separated module by [@​janisz](https://github.com/janisz) in [#​816](stackrox/kube-linter#816) - Create SECURITY.md by [@​janisz](https://github.com/janisz) in [#​817](stackrox/kube-linter#817) - chore(deps): bump docker/login-action from 3.2.0 to 3.3.0 by [@​dependabot](https://github.com/dependabot) in [#​818](stackrox/kube-linter#818) - chore(deps): bump docker/setup-buildx-action from 3.4.0 to 3.5.0 by [@​dependabot](https://github.com/dependabot) in [#​819](stackrox/kube-linter#819) - chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.1 to 1.6.0 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​823](stackrox/kube-linter#823) - chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​822](stackrox/kube-linter#822) - chore(deps): bump the k8s-io group with 3 updates by [@​dependabot](https://github.com/dependabot) in [#​820](stackrox/kube-linter#820) - chore(deps): bump docker/setup-buildx-action from 3.5.0 to 3.6.1 by [@​dependabot](https://github.com/dependabot) in [#​827](stackrox/kube-linter#827) - chore(deps): bump github.com/cert-manager/cert-manager from 1.15.1 to 1.15.2 by [@​dependabot](https://github.com/dependabot) in [#​826](stackrox/kube-linter#826) - chore(deps): bump github.com/docker/docker from 26.1.3+incompatible to 26.1.4+incompatible in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​825](stackrox/kube-linter#825) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.75.1 to 0.75.2 by [@​dependabot](https://github.com/dependabot) in [#​821](stackrox/kube-linter#821) - chore(deps): bump github.com/docker/docker from 25.0.5+incompatible to 25.0.6+incompatible by [@​dependabot](https://github.com/dependabot) in [#​829](stackrox/kube-linter#829) - chore(deps): bump github.com/kedacore/keda/v2 from 2.13.1 to 2.15.0 by [@​dependabot](https://github.com/dependabot) in [#​830](stackrox/kube-linter#830) - chore(deps): bump helm.sh/helm/v3 from 3.15.3 to 3.15.4 by [@​dependabot](https://github.com/dependabot) in [#​834](stackrox/kube-linter#834) - chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 by [@​dependabot](https://github.com/dependabot) in [#​831](stackrox/kube-linter#831) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.75.2 to 0.76.0 by [@​dependabot](https://github.com/dependabot) in [#​836](stackrox/kube-linter#836) - chore(deps): bump github.com/docker/docker from 26.1.4+incompatible to 26.1.5+incompatible in /tool-imports by [@​dependabot](https://github.com/dependabot) in [#​835](stackrox/kube-linter#835) - Update CODEOWNERS by [@​rhybrillou](https://github.com/rhybrillou) in [#​837](stackrox/kube-linter#837) - Update contact address in code of conduct. by [@​rhybrillou](https://github.com/rhybrillou) in [#​838](stackrox/kube-linter#838) - chore(deps): bump github.com/cert-manager/cert-manager from 1.15.2 to 1.15.3 by [@​dependabot](https://github.com/dependabot) in [#​839](stackrox/kube-linter#839) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.76.0 to 0.76.1 by [@​dependabot](https://github.com/dependabot) in [#​841](stackrox/kube-linter#841) - chore(deps): update keda, k8s-io and k8s.io controller-runtime by [@​rhybrillou](https://github.com/rhybrillou) in [#​840](https://github.com/stackrox/kube-linter/pull/840) - chore(deps): bump github.com/Masterminds/sprig/v3 from 3.2.3 to 3.3.0 by [@​dependabot](https://github.com/dependabot) in [#​842](https://github.com/stackrox/kube-linter/pull/842) - chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.76.1 to 0.76.2 by [@​dependabot](https://github.com/dependabot) in [#​843](https://github.com/stackrox/kube-linter/pull/843) - chore(deps): bump helm.sh/helm/v3 from 3.15.4 to 3.16.1 by [@​dependabot](https://github.com/dependabot) in [#​845](https://github.com/stackrox/kube-linter/pull/845) - chore(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 by [@​dependabot](https://github.com/dependabot) in [#​847](https://github.com/stackrox/kube-linter/pull/847) - chore(deps): bump sigstore/cosign-installer from 3.6.0 to 3.7.0 by [@​dependabot](https://github.com/dependabot) in [#​850](https://github.com/stackrox/kube-linter/pull/850) - chore(deps): bump docker/setup-buildx-action from 3.6.1 to 3.7.1 by [@​dependabot](https://github.com/dependabot) in [#​851](https://github.com/stackrox/kube-linter/pull/851) - chore(deps): bump github.com/cert-manager/cert-manager from 1.15.3 to 1.16.1 by [@​dependabot](https://github.com/dependabot) in [#​852](https://github.com/stackrox/kube-linter/pull/852) - chore(deps): bump helm.sh/helm/v3 from 3.16.1 to 3.16.2 by [@​dependabot](https://github.com/dependabot) in [#​854](https://github.com/stackrox/kube-linter/pull/854) - chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.6.1 to 4.7.1 by [@​dependabot](https://github.com/dependabot) in [#​853](https://github.com/stackrox/kube-linter/pull/853) - chore(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 by [@​dependabot](https://github.com/dependabot) in [#​859](https://github.com/stackrox/kube-linter/pull/859) - Add new check pdb-unhealthy-pod-eviction-policy ([#​855](https://github.com/stackrox/kube-linter/issues/855)) by [@​wissamir](https://github.com/wissamir) in [#​856](https://github.com/stackrox/kube-linter/pull/856) #### New Contributors - [@​bgalek](https://github.com/bgalek) made their first contribution in [#​734](stackrox/kube-linter#734) - [@​porridge](https://github.com/porridge) made their first contribution in [#​770](stackrox/kube-linter#770) - [@​gavin-stackrox](https://github.com/gavin-stackrox) made their first contribution in [#​785](stackrox/kube-linter#785) - [@​rhybrillou](https://github.com/rhybrillou) made their first contribution in [#​837](stackrox/kube-linter#837) - [@​wissamir](https://github.com/wissamir) made their first contribution in [#​856](https://github.com/stackrox/kube-linter/pull/856) **Full Changelog**: <stackrox/kube-linter@v0.6.8...v0.7.0> ### [`v0.6.8`](https://github.com/stackrox/kube-linter/releases/tag/v0.6.8) [Compare Source](stackrox/kube-linter@v0.6.7...v0.6.8) <!-- Release notes generated using configuration in .github/release.yml at v0.6.8 --> #### What's Changed ##### 🚀 Features - chore: release arm64 binaries by [@​janisz](https://github.com/janisz) in [#​725](https://github.com/stackrox/kube-linter/pull/725) - feature: add support to keda scaledobject v1alpha1 by [@​jonathanmdr](https://github.com/jonathanmdr) in [#​711](https://github.com/stackrox/kube-linter/pull/711) ##### 🧰 Maintenance - chore: setup coverage by [@​janisz](https://github.com/janisz) in [#​722](https://github.com/stackrox/kube-linter/pull/722) - chore: collect coverage for bats by [@​janisz](https://github.com/janisz) in [#​723](https://github.com/stackrox/kube-linter/pull/723) - chore: release with goreleaser by [@​janisz](https://github.com/janisz) in [#​720](https://github.com/stackrox/kube-linter/pull/720) - fix: use with instead of env by [@​janisz](https://github.com/janisz) in [#​724](https://github.com/stackrox/kube-linter/pull/724) - fix: broken builds on main by [@​janisz](https://github.com/janisz) in [#​726](https://github.com/stackrox/kube-linter/pull/726) ##### Other Changes - build(deps): bump docker/metadata-action from 5.5.0 to 5.5.1 by [@​dependabot](https://github.com/dependabot) in [#​707](https://github.com/stackrox/kube-linter/pull/707) - build(deps): bump github.com/cert-manager/cert-manager from 1.13.3 to 1.14.0 by [@​dependabot](https://github.com/dependabot) in [#​708](https://github.com/stackrox/kube-linter/pull/708) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.71.1 to 0.71.2 by [@​dependabot](https://github.com/dependabot) in [#​709](https://github.com/stackrox/kube-linter/pull/709) - build(deps): bump github.com/cert-manager/cert-manager from 1.14.0 to 1.14.1 by [@​dependabot](https://github.com/dependabot) in [#​714](https://github.com/stackrox/kube-linter/pull/714) - build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.0 by [@​dependabot](https://github.com/dependabot) in [#​715](https://github.com/stackrox/kube-linter/pull/715) - build(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 by [@​dependabot](https://github.com/dependabot) in [#​717](https://github.com/stackrox/kube-linter/pull/717) - build(deps): bump release-drafter/release-drafter from 5 to 6 by [@​dependabot](https://github.com/dependabot) in [#​716](https://github.com/stackrox/kube-linter/pull/716) - build(deps): bump github.com/cert-manager/cert-manager from 1.14.1 to 1.14.2 by [@​dependabot](https://github.com/dependabot) in [#​719](https://github.com/stackrox/kube-linter/pull/719) - build(deps): bump github.com/golangci/golangci-lint from 1.56.0 to 1.56.1 by [@​dependabot](https://github.com/dependabot) in [#​718](https://github.com/stackrox/kube-linter/pull/718) - build(deps): bump helm.sh/helm/v3 from 3.14.0 to 3.14.1 by [@​dependabot](https://github.com/dependabot) in [#​721](https://github.com/stackrox/kube-linter/pull/721) - build(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 by [@​dependabot](https://github.com/dependabot) in [#​728](https://github.com/stackrox/kube-linter/pull/728) - build(deps): bump github.com/cert-manager/cert-manager from 1.13.3 to 1.14.2 by [@​dependabot](https://github.com/dependabot) in [#​731](https://github.com/stackrox/kube-linter/pull/731) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.71.1 to 0.71.2 by [@​dependabot](https://github.com/dependabot) in [#​730](https://github.com/stackrox/kube-linter/pull/730) - build(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://github.com/dependabot) in [#​727](https://github.com/stackrox/kube-linter/pull/727) - build(deps): bump the k8s-io group with 4 updates by [@​dependabot](https://github.com/dependabot) in [#​729](https://github.com/stackrox/kube-linter/pull/729) #### New Contributors - [@​jonathanmdr](https://github.com/jonathanmdr) made their first contribution in [#​711](https://github.com/stackrox/kube-linter/pull/711) **Full Changelog**: <stackrox/kube-linter@v0.6.7...v0.6.8> ### [`v0.6.7`](https://github.com/stackrox/kube-linter/releases/tag/v0.6.7) [Compare Source](stackrox/kube-linter@v0.6.6...v0.6.7) #### Changes - bug: broken reading from stdin (-) [@​janisz](https://github.com/janisz) ([#​704](https://github.com/stackrox/kube-linter/issues/704)) - feat: support go1.21 [@​chenrui333](https://github.com/chenrui333) ([#​696](https://github.com/stackrox/kube-linter/issues/696)) #### ⬆️ Dependencies - build(deps): bump the k8s-io group with 2 updates [@​dependabot](https://github.com/dependabot) ([#​698](https://github.com/stackrox/kube-linter/issues/698)) - build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.71.0 to 0.71.1 [@​dependabot](https://github.com/dependabot) ([#​700](https://github.com/stackrox/kube-linter/issues/700)) - build(deps): bump helm.sh/helm/v3 from 3.13.3 to 3.14.0 [@​dependabot](https://github.com/dependabot) ([#​699](https://github.com/stackrox/kube-linter/issues/699)) - build(deps): bump actions/cache from 3 to 4 [@​dependabot](https://github.com/dependabot) ([#​697](https://github.com/stackrox/kube-linter/issues/697)) **Full Changelog**: <stackrox/kube-linter@v0.6.6...0.6.7> ### [`v0.6.6`](https://github.com/stackrox/kube-linter/releases/tag/v0.6.6) [Compare Source](stackrox/kube-linter@v0.6.5...v0.6.6) #### Changes - group dependabot k8s updates [@​janisz](https://github.com/janisz) ([#​686](https://github.com/stackrox/kube-linter/issues/686)) #### ✔️ New checks - Create new check for liveness port [@​charlesoconor](https://github.com/charlesoconor) ([#​661](https://github.com/stackrox/kube-linter/issues/661)) #### 🚀 Features - Extend liveness-port logic for two new checks around startup and readiness [@​charlesoconor](https://github.com/charlesoconor) ([#​689](https://github.com/stackrox/kube-linter/issues/689)) #### 🐛 Bug Fixes - Fix: pdb-min-available when Replica number is controlled via HPA [@​jpedrobf](https://github.com/jpedrobf) ([#​688](https://github.com/stackrox/kube-linter/issues/688)) - feat: ignore templates in Chart dependencies based on ignore paths [@​Trojan295](https://github.com/Trojan295) ([#​667](https://github.com/stackrox/kube-linter/issues/667)) - Docs: Fixed broken template links, fixed script versions [@​gaurav-nelson](https://github.com/gaurav-nelson) ([#​662](https://github.com/stackrox/kube-linter/issues/662)) #### ⬆️ Dependencies <details> <summary>28 changes</summary> - Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.70.0 to 0.71.0 [@​dependabot](https://github.com/dependabot) ([#​693](https://github.com/stackrox/kube-linter/issues/693)) - Bump docker/metadata-action from 5.4.0 to 5.5.0 [@​dependabot](https://github.com/dependabot) ([#​690](https://github.com/stackrox/kube-linter/issues/690)) - Bump k8s.io/client-go from 0.28.4 to 0.29.0 [@​dependabot](https://github.com/dependabot) ([#​685](https://github.com/stackrox/kube-linter/issues/685)) - Bump actions/download-artifact from 3 to 4 [@​dependabot](https://github.com/dependabot) ([#​682](https://github.com/stackrox/kube-linter/issues/682)) - Bump github.com/spf13/viper from 1.18.1 to 1.18.2 [@​dependabot](https://github.com/dependabot) ([#​683](https://github.com/stackrox/kube-linter/issues/683)) - Bump helm.sh/helm/v3 from 3.13.2 to 3.13.3 [@​dependabot](https://github.com/dependabot) ([#​684](https://github.com/stackrox/kube-linter/issues/684)) - Bump docker/metadata-action from 5.3.0 to 5.4.0 [@​dependabot](https://github.com/dependabot) ([#​680](https://github.com/stackrox/kube-linter/issues/680)) - Bump github.com/containerd/containerd from 1.7.6 to 1.7.11 [@​dependabot](https://github.com/dependabot) ([#​679](https://github.com/stackrox/kube-linter/issues/679)) - Bump golang.org/x/crypto from 0.16.0 to 0.17.0 [@​dependabot](https://github.com/dependabot) ([#​678](https://github.com/stackrox/kube-linter/issues/678)) - Bump github/codeql-action from 2 to 3 [@​dependabot](https://github.com/dependabot) ([#​676](https://github.com/stackrox/kube-linter/issues/676)) - Bump sigstore/cosign-installer from 3.2.0 to 3.3.0 [@​dependabot](https://github.com/dependabot) ([#​677](https://github.com/stackrox/kube-linter/issues/677)) - Bump github.com/cert-manager/cert-manager from 1.13.2 to 1.13.3 [@​dependabot](https://github.com/dependabot) ([#​675](https://github.com/stackrox/kube-linter/issues/675)) - Bump github.com/spf13/viper from 1.18.0 to 1.18.1 [@​dependabot](https://github.com/dependabot) ([#​674](https://github.com/stackrox/kube-linter/issues/674)) - Bump actions/setup-go from 4 to 5 [@​dependabot](https://github.com/dependabot) ([#​672](https://github.com/stackrox/kube-linter/issues/672)) - Bump docker/metadata-action from 5.0.0 to 5.3.0 [@​dependabot](https://github.com/dependabot) ([#​673](https://github.com/stackrox/kube-linter/issues/673)) - Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.69.1 to 0.70.0 [@​dependabot](https://github.com/dependabot) ([#​671](https://github.com/stackrox/kube-linter/issues/671)) - Bump github.com/spf13/viper from 1.17.0 to 1.18.0 [@​dependabot](https://github.com/dependabot) ([#​670](https://github.com/stackrox/kube-linter/issues/670)) - Bump k8s.io/cli-runtime from 0.28.3 to 0.28.4 [@​dependabot](https://github.com/dependabot) ([#​666](https://github.com/stackrox/kube-linter/issues/666)) - Bump k8s.io/client-go from 0.28.3 to 0.28.4 [@​dependabot](https://github.com/dependabot) ([#​665](https://github.com/stackrox/kube-linter/issues/665)) - Bump k8s.io/api from 0.28.3 to 0.28.4 [@​dependabot](https://github.com/dependabot) ([#​664](https://github.com/stackrox/kube-linter/issues/664)) - Bump docker/build-push-action from 5.0.0 to 5.1.0 [@​dependabot](https://github.com/dependabot) ([#​663](https://github.com/stackrox/kube-linter/issues/663)) - Bump helm.sh/helm/v3 from 3.13.1 to 3.13.2 [@​dependabot](https://github.com/dependabot) ([#​660](https://github.com/stackrox/kube-linter/issues/660)) - Bump github.com/golangci/golangci-lint from 1.55.1 to 1.55.2 [@​dependabot](https://github.com/dependabot) ([#​659](https://github.com/stackrox/kube-linter/issues/659)) - Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.69.0 to 0.69.1 [@​dependabot](https://github.com/dependabot) ([#​658](https://github.com/stackrox/kube-linter/issues/658)) - Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 [@​dependabot](https://github.com/dependabot) ([#​657](https://github.com/stackrox/kube-linter/issues/657)) - Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 [@​dependabot](https://github.com/dependabot) ([#​655](https://github.com/stackrox/kube-linter/issues/655)) - Bump github.com/fatih/color from 1.15.0 to 1.16.0 [@​dependabot](https://github.com/dependabot) ([#​656](https://github.com/stackrox/kube-linter/issues/656)) - Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.68.0 to 0.69.0 [@​dependabot](https://github.com/dependabot) ([#​654](https://github.com/stackrox/kube-linter/issues/654)) </details> **Full Changelog**: <stackrox/kube-linter@v0.6.5...0.6.6> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDQuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE0NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> MR: https://gitlab.com/ralgar/homelab/-/merge_requests/172
This pull request introduces a new check for validating priority class names in Kubernetes objects. The changes include the addition of a new template, corresponding parameters, and test cases. The most important changes are summarized below:
Issues:
New Template and Parameters:
pkg/templates/priorityclassname/template.go
: Added a new templatepriority-class-name
to flag applications running with invalid priority class names.pkg/templates/priorityclassname/internal/params/gen-params.go
: Generated code for handling parameters related to the new template.pkg/templates/priorityclassname/internal/params/params.go
: Defined theParams
struct to hold the accepted priority class names.Test Cases:
pkg/templates/priorityclassname/template_test.go
: Added test cases to validate the new template for different scenarios, including valid, invalid, and empty priority class names.Configuration and Integration:
pkg/builtinchecks/yamls/priority-class-name.yaml
: Added a new check configuration forpriority-class-name
.pkg/templates/all/all.go
: Imported the new template to ensure it is included in the build.E2E Tests:
e2etests/bats-tests.sh
: Added an end-to-end test for the newpriority-class-name
check.tests/checks/priority-class-name.yaml
: Added YAML configurations for testing the new check.