Skip to content

Commit a84665b

Browse files
feat: add support for k8s 1.28 (#1546)
Co-authored-by: jeho <[email protected]>
1 parent 9fea8ac commit a84665b

File tree

7 files changed

+32
-4
lines changed

7 files changed

+32
-4
lines changed

.github/workflows/integration.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
kubernetes_versions:
1010
description: "Kubernetes versions (JSON formatted list e.g.: ['1.27'])"
1111
type: string
12-
default: "['1.27']"
12+
default: "['1.28']"
1313
install_profile:
1414
description: Otomi installation profile
1515
default: full
@@ -59,7 +59,8 @@ on:
5959
- "['1.25']"
6060
- "['1.26']"
6161
- "['1.27']"
62-
default: "['1.27']"
62+
- "['1.28']"
63+
default: "['1.28']"
6364
install_profile:
6465
description: Otomi installation profile
6566
default: minimal-with-team

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"test:ts": "NODE_ENV=test jest",
152152
"test:ts-cov": "jest --coverage",
153153
"validate-templates": "NODE_ENV=test binzx/otomi validate-templates",
154-
"validate-templates:all": "set -e; i=25; while [ $i -le 27 ]; do NODE_ENV=test binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
154+
"validate-templates:all": "set -e; i=25; while [ $i -le 28 ]; do NODE_ENV=test binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
155155
"validate-values": "NODE_ENV=test binzx/otomi validate-values",
156156
"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",
157157
"bootstrap-dev-with-repo": "CI=1 ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap"

schemas/api-versions/1.28.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/v1beta2
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.28.3
1314
v1.27.4
1415
v1.26.7
1516
v1.25.8

schemas/v1.28-standalone.tar.gz

4.98 MB
Binary file not shown.

src/supportedK8sVersions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "supportedK8sVersions": ["1.25", "1.26", "1.27"] }
1+
{ "supportedK8sVersions": ["1.25", "1.26", "1.27", "1.28"] }

tests/integration/upgrade.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ apps:
5050
enabled: false
5151
snapshot-controller:
5252
enabled: true
53+
sealed-secrets:
54+
enabled: true
55+
rabbitmq:
56+
enabled: true
5357
tempo:
5458
enabled: true
5559
thanos:

0 commit comments

Comments
 (0)