Skip to content

Commit 391f28d

Browse files
committed
feat: Update minKubeVersion to v1.31.0
Update the minimum Kubernetes version to 1.31.0 in the operator bundle and CI workflow. Note: this is a breaking changes for users running on older versions of Kubernetes that are no longer supported by the community. The KinD configuration was updated to match the version tested with shipwright-io/build. Assisted-by: Cursor Signed-off-by: Adam Kaplan <[email protected]>
1 parent 57089d6 commit 391f28d

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# Kubernetes version must match a built KinD node image.
6161
# See release notes in https://github.com/kubernetes-sigs/kind/releases for supported
6262
# node image versions.
63-
- v1.30.6
63+
- v1.31.9
6464
max-parallel: 2
6565
runs-on: ubuntu-latest
6666
steps:
@@ -81,7 +81,7 @@ jobs:
8181
- name: Create KinD cluster
8282
uses: helm/kind-action@v1
8383
with:
84-
version: v0.25.0
84+
version: v0.29.0
8585
node_image: kindest/node:${{ matrix.kubernetes }}
8686
cluster_name: kind
8787
config: test/kind/config.yaml

bundle/manifests/shipwright-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ spec:
777777
778778
name: The Shipwright Contributors
779779
maturity: alpha
780-
minKubeVersion: 1.29.0
780+
minKubeVersion: 1.31.0
781781
provider:
782782
name: The Shipwright Contributors
783783
url: https://shipwright.io

config/manifests/bases/shipwright-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
8787
name: The Shipwright Contributors
8888
maturity: alpha
89-
minKubeVersion: 1.29.0
89+
minKubeVersion: 1.31.0
9090
provider:
9191
name: The Shipwright Contributors
9292
url: https://shipwright.io

test/kind/config.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
kind: Cluster
22
apiVersion: kind.x-k8s.io/v1alpha4
3+
kubeadmConfigPatches:
4+
- |
5+
kind: ClusterConfiguration
6+
metadata:
7+
name: config
8+
apiServer:
9+
extraArgs:
10+
enable-admission-plugins: PodSecurity
311
containerdConfigPatches:
412
- |-
513
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
614
endpoint = ["http://kind-registry:5000"]
715
nodes:
816
- role: control-plane
9-
kubeadmConfigPatches:
10-
- |
11-
kind: ClusterConfiguration
12-
apiServer:
13-
extraArgs:
14-
enable-admission-plugins: CertificateApproval,CertificateSigning,CertificateSubjectRestriction,DefaultIngressClass,DefaultStorageClass,DefaultTolerationSeconds,LimitRanger,MutatingAdmissionWebhook,NamespaceLifecycle,NodeRestriction,OwnerReferencesPermissionEnforcement,PersistentVolumeClaimResize,PersistentVolumeLabel,PodNodeSelector,PodTolerationRestriction,Priority,ResourceQuota,RuntimeClass,ServiceAccount,StorageObjectInUseProtection,TaintNodesByCondition,ValidatingAdmissionWebhook
17+
extraPortMappings:
18+
- containerPort: 32222
19+
hostPort: 32222
20+

0 commit comments

Comments
 (0)