Merge "Update k8s packages repo"

This commit is contained in:
Zuul 2023-12-13 18:53:02 +00:00 committed by Gerrit Code Review
commit a656fc4875
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"