From 32292cfd890ce75fbe773bf2d8414905bb86b2ca Mon Sep 17 00:00:00 2001 From: Nathan Douglas Date: Wed, 6 Mar 2024 15:24:35 -0500 Subject: [PATCH] Just kidding, adding back in the release channel option. --- README.md | 5 +++-- defaults/main.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 274b471..2077324 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,11 @@ kubernetes_ignore_preflight_errors: 'all' Options passed to `kubeadm init` when initializing the Kubernetes control plane. The `kubernetes_apiserver_advertise_address` defaults to `ansible_default_ipv4.address` if it's left empty. ```yaml -kubernetes_apt_repository: "https://pkgs.k8s.io/core:/stable:/v{{ kubernetes_version }}/deb/" +kubernetes_apt_release_channel: "stable" +kubernetes_apt_repository: "https://pkgs.k8s.io/core:/{{ kubernetes_apt_release_channel }}:/v{{ kubernetes_version }}/deb/" ``` -Apt repository option for Kubernetes installation. +Apt repository options for Kubernetes installation. ```yaml kubernetes_yum_base_url: "https://pkgs.k8s.io/core:/stable:/v{{ kubernetes_version }}/rpm/" diff --git a/defaults/main.yml b/defaults/main.yml index 6089771..f74583f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -51,7 +51,8 @@ kubernetes_apiserver_advertise_address: '' kubernetes_version_kubeadm: 'stable-{{ kubernetes_version }}' kubernetes_ignore_preflight_errors: 'all' -kubernetes_apt_repository: "https://pkgs.k8s.io/core:/stable:/v{{ kubernetes_version }}/deb/" +kubernetes_apt_release_channel: "stable" +kubernetes_apt_repository: "https://pkgs.k8s.io/core:/{{ kubernetes_apt_release_channel }}:/v{{ kubernetes_version }}/deb/" kubernetes_yum_base_url: "https://pkgs.k8s.io/core:/stable:/v{{ kubernetes_version }}/rpm/" kubernetes_yum_gpg_key: "https://pkgs.k8s.io/core:/stable:/v{{ kubernetes_version }}/rpm/repodata/repomd.xml.key"