From 1a521ea0d9fd36749829846c0fcc6b2d12ed7513 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:13:20 -0500 Subject: [PATCH 1/4] chore(deps): bump actions/setup-python from 5.1.0 to 5.1.1 (#541) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/82c7e631bb3cdc910f68e0081d67478d79c6982d...39cd14951b08e74b54015e9e001cdefcf80e669f) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Techno Tim --- .github/workflows/cache.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 61a67cb..6ded0d0 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -16,7 +16,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0 + uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # 5.1.1 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 79eb583..8239e9c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0 + uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # 5.1.1 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e74a20..4c8bf5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: EOF - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0 + uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # 5.1.1 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies From 6823ad51d55223486ccaf8d36d696dc6ea9b525c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:11:43 -0500 Subject: [PATCH 2/4] chore(deps): bump ansible-core from 2.17.0 to 2.17.2 (#544) Bumps [ansible-core](https://github.com/ansible/ansible) from 2.17.0 to 2.17.2. - [Release notes](https://github.com/ansible/ansible/releases) - [Commits](https://github.com/ansible/ansible/compare/v2.17.0...v2.17.2) --- updated-dependencies: - dependency-name: ansible-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Techno Tim --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 079e561..9033951 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # ansible-compat==4.1.11 # via molecule -ansible-core==2.16.6 +ansible-core==2.17.2 # via # -r requirements.in # ansible-compat From 6cee0e9051b55a29281d87d5745a812f11ec702e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 13:24:20 -0500 Subject: [PATCH 3/4] chore(deps): bump pre-commit from 3.7.1 to 3.8.0 (#549) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Techno Tim --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9033951..4788632 100644 --- a/requirements.txt +++ b/requirements.txt @@ -96,7 +96,7 @@ platformdirs==4.1.0 # via virtualenv pluggy==1.3.0 # via molecule -pre-commit==3.7.1 +pre-commit==3.8.0 # via -r requirements.in pre-commit-hooks==4.6.0 # via -r requirements.in From 668d7fb896c226cde2960491a60b917db8a4bf7e Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 29 Jul 2024 23:05:30 +0200 Subject: [PATCH 4/4] k3s_server: add kube_vip_arp parameter (#550) With the kube_vip_arp parameter it is possible to set or unset the vip_arp environment variable of the kube-vip-ds daemonset. The value of the kube_vip_arp is true by default to not change the existing default. Signed-off-by: Christian Berendt Co-authored-by: Techno Tim --- roles/k3s_server/defaults/main.yml | 3 +++ roles/k3s_server/templates/vip.yaml.j2 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/k3s_server/defaults/main.yml b/roles/k3s_server/defaults/main.yml index 46f1528..349889b 100644 --- a/roles/k3s_server/defaults/main.yml +++ b/roles/k3s_server/defaults/main.yml @@ -4,6 +4,9 @@ # will determine the right interface automatically at runtime. kube_vip_iface: null +# Enables ARP broadcasts from Leader +kube_vip_arp: true + # Name of the master group group_name_master: master diff --git a/roles/k3s_server/templates/vip.yaml.j2 b/roles/k3s_server/templates/vip.yaml.j2 index 1092557..47d4e8f 100644 --- a/roles/k3s_server/templates/vip.yaml.j2 +++ b/roles/k3s_server/templates/vip.yaml.j2 @@ -27,7 +27,7 @@ spec: - manager env: - name: vip_arp - value: "true" + value: "{{ 'true' if kube_vip_arp | bool else 'false' }}" - name: port value: "6443" {% if kube_vip_iface %}