From 1d6de628cc1fc7d5f89c796630fbf4666cad877c Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Tue, 24 Sep 2024 00:19:34 -0700 Subject: [PATCH] chore: bump provider k3s to 4.5.0-alpha1 and kubeadm to 4.5.0-alpha2 (#280) Signed-off-by: Nianyu Shen --- .pre-commit-config.yaml | 24 ++++++++++++++++++++++++ Earthfile | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..193ce4b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,24 @@ +# install pre-commit on your system and then +# run pre-commit install in this repository. +# You can by pass commit hooks with: +# git commit -n +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-yaml + stages: [commit] + - id: check-json + stages: [commit] + - id: check-toml + stages: [commit] + - id: check-merge-conflict + stages: [commit] + - id: check-case-conflict + stages: [commit] + - id: detect-private-key + stages: [commit] + - repo: https://github.com/crate-ci/typos + rev: v1.24.5 + hooks: + - id: typos \ No newline at end of file diff --git a/Earthfile b/Earthfile index 4db04ef..f20d31d 100644 --- a/Earthfile +++ b/Earthfile @@ -21,8 +21,8 @@ ARG RKE2_FLAVOR_TAG=rke2r1 ARG BASE_IMAGE_URL=quay.io/kairos ARG OSBUILDER_VERSION=v0.300.3 ARG OSBUILDER_IMAGE=quay.io/kairos/osbuilder-tools:$OSBUILDER_VERSION -ARG K3S_PROVIDER_VERSION=v4.4.2 -ARG KUBEADM_PROVIDER_VERSION=v4.5.0-alpha1 +ARG K3S_PROVIDER_VERSION=v4.5.0-alpha1 +ARG KUBEADM_PROVIDER_VERSION=v4.5.0-alpha2 ARG RKE2_PROVIDER_VERSION=v4.4.1 # Variables used in the builds. Update for ADVANCED use cases only. Modify in .arg file or via CLI arguments.