Update k8s packages repo

For details see the announcement
https://kubernetes.io/blog/2023/08/31/legacy-package-repository-deprecation/

Also bump K8s version up to 1.28.4

Change-Id: Ic6b3478e53504622804b6f003ca176a679573d5b
This commit is contained in:
Vladimir Kozhukalov 2023-12-12 15:10:53 -06:00
parent 10a171eb18
commit 9e256fd8b0
4 changed files with 12 additions and 6 deletions

View File

@ -10,6 +10,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
kube_version_repo: "v1.28"
# the list of k8s package versions are available here
# https://pkgs.k8s.io/core:/stable:/{{ kube_version_repo }}/deb/Packages
kube_version: "1.28.4-1.1"
calico_version: "v3.25"
helm_version: "v3.6.3"
crictl_version: "v1.26.1"
kubectl:
user: zuul
group: zuul

View File

@ -4,7 +4,7 @@ kind: KubeProxyConfiguration
mode: ipvs
...
---
apiVersion: kubeadm.k8s.io/v1beta2
apiVersion: kubeadm.k8s.io/v1beta3
kind: ClusterConfiguration
networking:
serviceSubnet: "{{ kubeadm.service_cidr }}" # --service-cidr

View File

@ -56,12 +56,12 @@
- name: Add Kubernetes apt repository key
apt_key:
url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
url: "https://pkgs.k8s.io/core:/stable:/{{ kube_version_repo }}/deb/Release.key"
state: present
- name: Add Kubernetes apt repository
apt_repository:
repo: deb https://apt.kubernetes.io/ kubernetes-xenial main
repo: "deb https://pkgs.k8s.io/core:/stable:/{{ kube_version_repo }}/deb/ /"
state: present
filename: kubernetes.list

View File

@ -99,9 +99,7 @@
loopback_device: /dev/loop100
loopback_image: "/opt/ext_vol/openstack-helm/ceph-loop.img"
ceph_osd_data_device: /dev/loop100
# the k8s package versions are available here
# https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-amd64/Packages
kube_version: "1.26.3-00"
kube_version: "1.28.4-1.1"
calico_version: "v3.25"
helm_version: "v3.6.3"
yq_version: "v4.6.0"