Skip to content

Commit

Permalink
Update supported Kubernetes versions in outdated version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kooomix committed Jan 14, 2025
1 parent 41f306f commit f9a862f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/outdated-k8s-version/raw.rego
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ deny[msga] {

has_outdated_version(version) {
# the `supported_k8s_versions` is validated in the validations script against "https://api.github.com/repos/kubernetes/kubernetes/releases"
supported_k8s_versions := ["v1.31", "v1.30", "v1.29"]
supported_k8s_versions := ["v1.32", "v1.31", "v1.30"]
every v in supported_k8s_versions{
not startswith(version, v)
}
Expand Down

0 comments on commit f9a862f

Please sign in to comment.