Skip to content

Commit

Permalink
feat: add support for k8s 1.28 (#1546)
Browse files Browse the repository at this point in the history
Co-authored-by: jeho <17126497+j-zimnowoda@users.noreply.github.com>
  • Loading branch information
ferruhcihan and j-zimnowoda committed Mar 11, 2024
1 parent 9fea8ac commit a84665b
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
kubernetes_versions:
description: "Kubernetes versions (JSON formatted list e.g.: ['1.27'])"
type: string
default: "['1.27']"
default: "['1.28']"
install_profile:
description: Otomi installation profile
default: full
Expand Down Expand Up @@ -59,7 +59,8 @@ on:
- "['1.25']"
- "['1.26']"
- "['1.27']"
default: "['1.27']"
- "['1.28']"
default: "['1.28']"
install_profile:
description: Otomi installation profile
default: minimal-with-team
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"test:ts": "NODE_ENV=test jest",
"test:ts-cov": "jest --coverage",
"validate-templates": "NODE_ENV=test binzx/otomi validate-templates",
"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",
"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",
"validate-values": "NODE_ENV=test binzx/otomi validate-values",
"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",
"bootstrap-dev-with-repo": "CI=1 ENV_DIR=/tmp/otomi-bootstrap-dev binzx/otomi bootstrap"
Expand Down
22 changes: 22 additions & 0 deletions schemas/api-versions/1.28.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
admissionregistration.k8s.io/v1
apiextensions.k8s.io/v1
apiregistration.k8s.io/v1
apps/v1
authentication.k8s.io/v1
authorization.k8s.io/v1
autoscaling/v1
autoscaling/v2
batch/v1
certificates.k8s.io/v1
coordination.k8s.io/v1
discovery.k8s.io/v1
events.k8s.io/v1
flowcontrol.apiserver.k8s.io/v1beta2
flowcontrol.apiserver.k8s.io/v1beta3
networking.k8s.io/v1
node.k8s.io/v1
policy/v1
rbac.authorization.k8s.io/v1
scheduling.k8s.io/v1
storage.k8s.io/v1
v1
1 change: 1 addition & 0 deletions schemas/gen-k8s-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -ex
# X.Y.Z-local - relative references, useful to avoid the network dependency

declare -a K8S_VERSIONS=(
v1.28.3
v1.27.4
v1.26.7
v1.25.8
Expand Down
Binary file added schemas/v1.28-standalone.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/supportedK8sVersions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "supportedK8sVersions": ["1.25", "1.26", "1.27"] }
{ "supportedK8sVersions": ["1.25", "1.26", "1.27", "1.28"] }
4 changes: 4 additions & 0 deletions tests/integration/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ apps:
enabled: false
snapshot-controller:
enabled: true
sealed-secrets:
enabled: true
rabbitmq:
enabled: true
tempo:
enabled: true
thanos:
Expand Down

0 comments on commit a84665b

Please sign in to comment.