Skip to content

Commit c298d8d

Browse files
authored
feat: k8s 1.31 upgrade (#1742)
1 parent d7918dc commit c298d8d

File tree

6 files changed

+29
-6
lines changed

6 files changed

+29
-6
lines changed

.github/workflows/integration.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
type: string
88
default: linode
99
kubernetes_versions:
10-
description: "Kubernetes versions (JSON formatted list e.g.: ['1.28'])"
10+
description: "Kubernetes versions (JSON formatted list e.g.: ['1.31'])"
1111
type: string
12-
default: "['1.30']"
12+
default: "['1.31']"
1313
install_profile:
1414
description: Otomi installation profile
1515
default: full
@@ -55,10 +55,10 @@ on:
5555
description: 'Kubernetes version'
5656
type: choice
5757
options:
58-
- "['1.28']"
5958
- "['1.29']"
6059
- "['1.30']"
61-
default: "['1.30']"
60+
- "['1.31']"
61+
default: "['1.31']"
6262
install_profile:
6363
description: Otomi installation profile
6464
default: minimal-with-team

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"test:ts": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test jest",
154154
"test:ts-cov": "jest --coverage",
155155
"validate-templates": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi validate-templates",
156-
"validate-templates:all": "set -e; i=25; while [ $i -le 30 ]; do NODE_ENV=test binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
156+
"validate-templates:all": "set -e; i=28; while [ $i -le 31 ]; do NODE_ENV=test binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
157157
"validate-values": "ENV_DIR=$PWD/tests/fixtures NODE_ENV=test binzx/otomi validate-values",
158158
"bootstrap-dev": "rm -rf /tmp/otomi-bootstrap-dev; CI=1 VALUES_INPUT=$PWD/tests/bootstrap/input.yaml ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap",
159159
"bootstrap-dev-with-repo": "CI=1 ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap"

schemas/api-versions/1.31.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
admissionregistration.k8s.io/v1
2+
apiextensions.k8s.io/v1
3+
apiregistration.k8s.io/v1
4+
apps/v1
5+
authentication.k8s.io/v1
6+
authorization.k8s.io/v1
7+
autoscaling/v1
8+
autoscaling/v2
9+
batch/v1
10+
certificates.k8s.io/v1
11+
coordination.k8s.io/v1
12+
discovery.k8s.io/v1
13+
events.k8s.io/v1
14+
flowcontrol.apiserver.k8s.io/v1
15+
flowcontrol.apiserver.k8s.io/v1beta3
16+
networking.k8s.io/v1
17+
node.k8s.io/v1
18+
policy/v1
19+
rbac.authorization.k8s.io/v1
20+
scheduling.k8s.io/v1
21+
storage.k8s.io/v1
22+
v1

schemas/gen-k8s-schemas.sh

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ set -ex
1010
# X.Y.Z-local - relative references, useful to avoid the network dependency
1111

1212
declare -a K8S_VERSIONS=(
13+
v1.31.1
1314
v1.30.2
1415
v1.29.4
1516
v1.28.3

schemas/v1.31-standalone.tar.gz

5.63 MB
Binary file not shown.

src/supportedK8sVersions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "supportedK8sVersions": ["1.28", "1.29", "1.30"] }
1+
{ "supportedK8sVersions": ["1.29", "1.30", "1.31"] }

0 commit comments

Comments
 (0)