Skip to content

Commit

Permalink
chore: bump k8s support to 1.29 for v0.34.x (#5576)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Feb 2, 2024
1 parent 7786b5d commit 1cd1cb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions hack/docgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
set -euo pipefail

compatibilitymatrix() {
# versionCount is the number of K8s versions to display in the compatibility matrix
versionCount=7
go run hack/docs/version_compatibility.go hack/docs/compatibility-karpenter.yaml "$(git describe --exact-match --tags || echo "no tag")"
go run hack/docs/compatibilitymetrix_gen_docs.go website/content/en/preview/upgrading/compatibility.md hack/docs/compatibility-karpenter.yaml 6
go run hack/docs/compatibilitymetrix_gen_docs.go website/content/en/preview/upgrading/compatibility.md hack/docs/compatibility-karpenter.yaml $versionCount
}


compatibilitymatrix
go run hack/docs/metrics_gen_docs.go pkg/ ${KARPENTER_CORE_DIR}/pkg website/content/en/preview/reference/metrics.md
go run hack/docs/instancetypes_gen_docs.go website/content/en/preview/reference/instance-types.md
go run hack/docs/configuration_gen_docs.go website/content/en/preview/reference/settings.md
cd charts/karpenter && helm-docs
cd charts/karpenter && helm-docs
2 changes: 1 addition & 1 deletion pkg/providers/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
// If a user runs a karpenter image on a k8s version outside the min and max,
// One error message will be fired to notify
MinK8sVersion = "1.23"
MaxK8sVersion = "1.28"
MaxK8sVersion = "1.29"
)

// Provider get the APIServer version. This will be initialized at start up and allows karpenter to have an understanding of the cluster version
Expand Down

0 comments on commit 1cd1cb9

Please sign in to comment.