From aa7794908e282f873aa9d5c937e809dbd6486ec0 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Sat, 7 Dec 2024 11:19:00 -0600 Subject: [PATCH] feat: update kubespray to v2.26.0 This change retains support for our current version of Kubernetes but also ensures that we have future support for upgrades as needed. * Requirements have been updated to support the updated version of Kubespray. Signed-off-by: Kevin Carter --- .../genestack/group_vars/k8s_cluster/k8s-cluster.yml | 2 +- requirements.txt | 4 +++- submodules/kubespray | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ansible/inventory/genestack/group_vars/k8s_cluster/k8s-cluster.yml b/ansible/inventory/genestack/group_vars/k8s_cluster/k8s-cluster.yml index 9feff4c7..4a0b110b 100644 --- a/ansible/inventory/genestack/group_vars/k8s_cluster/k8s-cluster.yml +++ b/ansible/inventory/genestack/group_vars/k8s_cluster/k8s-cluster.yml @@ -17,7 +17,7 @@ kube_token_dir: "{{ kube_config_dir }}/tokens" kube_api_anonymous_auth: true ## Change this to use another Kubernetes version, e.g. a current beta release -kube_version: v1.28.6 +kube_version: v1.28.12 # Where the binaries will be downloaded. # Note: ensure that you've enough disk space (about 1G) diff --git a/requirements.txt b/requirements.txt index f2f1b99d..32e06604 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,9 @@ -ansible>=6.7.0,<=8.5.0 +ansible>9.0,<10.0 +ansible-core<2.17.0 cryptography==43.0.1 jinja2==3.1.4 jmespath==1.0.1 +jsonschema<=4.23.0 MarkupSafe==2.1.3 netaddr==0.9.0 pbr==5.11.1 diff --git a/submodules/kubespray b/submodules/kubespray index 64447e74..f9ebd45c 160000 --- a/submodules/kubespray +++ b/submodules/kubespray @@ -1 +1 @@ -Subproject commit 64447e745e53d3f486356d03ecb195729a302ea1 +Subproject commit f9ebd45c749647c0e8fdd55ea58d0fb0b6612d08