From 353f7ab6418ffe2ab46656579f32298c97379432 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 12:23:32 -0500 Subject: [PATCH 1/9] chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#505) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b) --- updated-dependencies: - dependency-name: actions/checkout 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> --- .github/workflows/cache.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 64c1ce7..e07311d 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8029291..ae8511b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 with: ref: ${{ github.event.pull_request.head.sha }} @@ -45,7 +45,7 @@ jobs: runs-on: self-hosted steps: - name: Checkout code - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 - name: Ensure SHA pinned actions uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40e45e738b3cad2729f599d8afc6ed02184e1dbd # 3.0.5 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4249d88..4271f57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 with: ref: ${{ github.event.pull_request.head.sha }} From d6597150c756a919009a88d2fafc249e960e01db Mon Sep 17 00:00:00 2001 From: Dov Benyomin Sohacheski Date: Sat, 11 May 2024 05:45:29 +0300 Subject: [PATCH 2/9] Allow IP range for `cilium_bgp_lb_cidr` (#507) Co-authored-by: Techno Tim --- roles/k3s_server_post/templates/cilium.crs.j2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/roles/k3s_server_post/templates/cilium.crs.j2 b/roles/k3s_server_post/templates/cilium.crs.j2 index 513ca07..5745a3b 100644 --- a/roles/k3s_server_post/templates/cilium.crs.j2 +++ b/roles/k3s_server_post/templates/cilium.crs.j2 @@ -25,5 +25,10 @@ kind: CiliumLoadBalancerIPPool metadata: name: "01-lb-pool" spec: - cidrs: - - cidr: "{{ cilium_bgp_lb_cidr }}" + blocks: +{% if "/" in cilium_bgp_lb_cidr %} + - cidr: {{ cilium_bgp_lb_cidr }} +{% else %} + - start: {{ cilium_bgp_lb_cidr.split('-')[0] }} + stop: {{ cilium_bgp_lb_cidr.split('-')[1] }} +{% endif %} From f50d335451cb186a7f2e8cb8f2e5285b30f66bc0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 May 2024 12:38:25 -0500 Subject: [PATCH 3/9] chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#515) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/44c2b7a8a4ea60a981eaca3cf939b5f4305c123b...a5ac7e51b41094c92402da3b24376905380afc29) --- updated-dependencies: - dependency-name: actions/checkout 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> --- .github/workflows/cache.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index e07311d..d50106c 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ae8511b..90861c2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 with: ref: ${{ github.event.pull_request.head.sha }} @@ -45,7 +45,7 @@ jobs: runs-on: self-hosted steps: - name: Checkout code - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 - name: Ensure SHA pinned actions uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40e45e738b3cad2729f599d8afc6ed02184e1dbd # 3.0.5 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4271f57..f38764c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 with: ref: ${{ github.event.pull_request.head.sha }} From d88eb80df0f03f90cd7aaa9f15dafa72b4c172ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:50:27 -0500 Subject: [PATCH 4/9] chore(deps): bump pre-commit from 3.7.0 to 3.7.1 (#511) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.0 to 3.7.1. - [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.0...v3.7.1) --- updated-dependencies: - dependency-name: pre-commit 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 5c1926d..079e561 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.0 +pre-commit==3.7.1 # via -r requirements.in pre-commit-hooks==4.6.0 # via -r requirements.in From bf0418d77ff47096d4e6cc83a4c57e00df203001 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:43:14 +0000 Subject: [PATCH 5/9] --- (#517) updated-dependencies: - dependency-name: ansible-core 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 079e561..998a02d 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.0 # via # -r requirements.in # ansible-compat From 2f46a54240bdac1801296c1f73435b82520775f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 22:37:27 +0000 Subject: [PATCH 6/9] chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#519) Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.5 to 3.0.6. - [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases) - [Commits](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/compare/40e45e738b3cad2729f599d8afc6ed02184e1dbd...2f2ebc6d914ab515939dc13f570f91baeb2c194c) --- updated-dependencies: - dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions 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/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90861c2..0f0fe84 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -47,7 +47,7 @@ jobs: - name: Checkout code uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40e45e738b3cad2729f599d8afc6ed02184e1dbd # 3.0.5 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@2f2ebc6d914ab515939dc13f570f91baeb2c194c # 3.0.6 with: allowlist: | aws-actions/ From 072f1a321d54a91dba1ec00b6c99fb20ffec3d28 Mon Sep 17 00:00:00 2001 From: Rina Y <50926620+Rina-Y@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:39:54 -0800 Subject: [PATCH 7/9] fixed broken when statement for Deploy metallb manifest task (#513) Co-authored-by: Techno Tim --- roles/k3s_server/tasks/main.yml | 2 +- roles/k3s_server_post/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/k3s_server/tasks/main.yml b/roles/k3s_server/tasks/main.yml index ae2d8e9..45adf9a 100644 --- a/roles/k3s_server/tasks/main.yml +++ b/roles/k3s_server/tasks/main.yml @@ -29,7 +29,7 @@ - name: Deploy metallb manifest include_tasks: metallb.yml tags: metallb - when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined) + when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined) - name: Deploy kube-vip manifest include_tasks: kube-vip.yml diff --git a/roles/k3s_server_post/tasks/main.yml b/roles/k3s_server_post/tasks/main.yml index 588f026..2cf679c 100644 --- a/roles/k3s_server_post/tasks/main.yml +++ b/roles/k3s_server_post/tasks/main.yml @@ -12,7 +12,7 @@ - name: Deploy metallb pool include_tasks: metallb.yml tags: metallb - when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined) + when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined) - name: Remove tmp directory used for manifests file: From b86156b995b7297d316207fb6063aac5c0f4b2c8 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Wed, 19 Jun 2024 12:33:21 -0500 Subject: [PATCH 8/9] chore(deps): Updated actions --- .github/workflows/cache.yml | 4 ++-- .github/workflows/lint.yml | 6 +++--- .github/workflows/test.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index d50106c..61a67cb 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 with: ref: ${{ github.event.pull_request.head.sha }} @@ -23,7 +23,7 @@ jobs: - name: Cache Vagrant boxes id: cache-vagrant - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 with: lookup-only: true #if it exists, we don't need to restore and can skip the next step path: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0f0fe84..9029e71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 with: ref: ${{ github.event.pull_request.head.sha }} @@ -22,7 +22,7 @@ jobs: cache: 'pip' # caching pip dependencies - name: Restore Ansible cache - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0 + uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 with: path: ~/.ansible/collections key: ansible-${{ hashFiles('collections/requirements.yml') }} @@ -45,7 +45,7 @@ jobs: runs-on: self-hosted steps: - name: Checkout code - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 - name: Ensure SHA pinned actions uses: zgosalvez/github-actions-ensure-sha-pinned-actions@2f2ebc6d914ab515939dc13f570f91baeb2c194c # 3.0.6 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f38764c..8868363 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 with: ref: ${{ github.event.pull_request.head.sha }} @@ -65,7 +65,7 @@ jobs: cache: 'pip' # caching pip dependencies - name: Restore vagrant Boxes cache - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0 + uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 with: path: ~/.vagrant.d/boxes key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }} From e8cd10d49bbde067471a3cd87d78165bdb5d765e Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Sun, 28 Jul 2024 14:29:32 -0500 Subject: [PATCH 9/9] chore(deps): Updated all k8s components (#532) * chore(deps): Updated all k8s components * Metallb 0.14.4 support (#533) * Added support for metallb >= 0.14.4 * update gpg * Added support for metallb >= 0.14.4 * remove extra file --------- Co-authored-by: Konstantin Kornienko Co-authored-by: Konstantin Kornienko * chore(deps): Updated actions * chore(dependencies): Roll back ansible-core * chore(deps): Updated kube-vip * chore(deps): Updated dependencies * chore(deps): Updated dependencies * fix(cilium): fixing logic * fix(cilium): fixing logic --------- Co-authored-by: Konstantin Kornienko Co-authored-by: Konstantin Kornienko --- .github/workflows/lint.yml | 2 +- inventory/sample/group_vars/all.yml | 12 ++++++------ requirements.txt | 2 +- roles/k3s_server/tasks/main.yml | 2 +- roles/k3s_server_post/tasks/main.yml | 2 +- roles/k3s_server_post/tasks/metallb.yml | 16 +++++++++++++++- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9029e71..b10e0a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -47,7 +47,7 @@ jobs: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@2f2ebc6d914ab515939dc13f570f91baeb2c194c # 3.0.6 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@74606c30450304eee8660aae751818321754feb1 # 3.0.9 with: allowlist: | aws-actions/ diff --git a/inventory/sample/group_vars/all.yml b/inventory/sample/group_vars/all.yml index 909746d..01b1fe9 100644 --- a/inventory/sample/group_vars/all.yml +++ b/inventory/sample/group_vars/all.yml @@ -1,5 +1,5 @@ --- -k3s_version: v1.29.2+k3s1 +k3s_version: v1.30.2+k3s2 # this is the user that has ssh access to these machines ansible_user: ansibleuser systemd_dir: /etc/systemd/system @@ -13,13 +13,13 @@ flannel_iface: "eth0" # uncomment calico_iface to use tigera operator/calico cni instead of flannel https://docs.tigera.io/calico/latest/about # calico_iface: "eth0" calico_ebpf: false # use eBPF dataplane instead of iptables -calico_tag: "v3.27.2" # calico version tag +calico_tag: "v3.28.0" # calico version tag # uncomment cilium_iface to use cilium cni instead of flannel or calico # ensure v4.19.57, v5.1.16, v5.2.0 or more recent kernel # cilium_iface: "eth0" cilium_mode: "native" # native when nodes on same subnet or using bgp, else set routed -cilium_tag: "v1.15.2" # cilium version tag +cilium_tag: "v1.16.0" # cilium version tag cilium_hubble: true # enable hubble observability relay and ui # if using calico or cilium, you may specify the cluster pod cidr pool @@ -72,7 +72,7 @@ extra_agent_args: >- {{ extra_args }} # image tag for kube-vip -kube_vip_tag_version: "v0.7.2" +kube_vip_tag_version: "v0.8.2" # tag for kube-vip-cloud-provider manifest # kube_vip_cloud_provider_tag_version: "main" @@ -93,8 +93,8 @@ metal_lb_mode: "layer2" # metal_lb_bgp_peer_address: "192.168.30.1" # image tag for metal lb -metal_lb_speaker_tag_version: "v0.14.3" -metal_lb_controller_tag_version: "v0.14.3" +metal_lb_speaker_tag_version: "v0.14.8" +metal_lb_controller_tag_version: "v0.14.8" # metallb ip range for load balancer metal_lb_ip_range: "192.168.30.80-192.168.30.90" diff --git a/requirements.txt b/requirements.txt index 998a02d..079e561 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # ansible-compat==4.1.11 # via molecule -ansible-core==2.17.0 +ansible-core==2.16.6 # via # -r requirements.in # ansible-compat diff --git a/roles/k3s_server/tasks/main.yml b/roles/k3s_server/tasks/main.yml index 45adf9a..ae2d8e9 100644 --- a/roles/k3s_server/tasks/main.yml +++ b/roles/k3s_server/tasks/main.yml @@ -29,7 +29,7 @@ - name: Deploy metallb manifest include_tasks: metallb.yml tags: metallb - when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined) + when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined) - name: Deploy kube-vip manifest include_tasks: kube-vip.yml diff --git a/roles/k3s_server_post/tasks/main.yml b/roles/k3s_server_post/tasks/main.yml index 2cf679c..588f026 100644 --- a/roles/k3s_server_post/tasks/main.yml +++ b/roles/k3s_server_post/tasks/main.yml @@ -12,7 +12,7 @@ - name: Deploy metallb pool include_tasks: metallb.yml tags: metallb - when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined) + when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined) - name: Remove tmp directory used for manifests file: diff --git a/roles/k3s_server_post/tasks/metallb.yml b/roles/k3s_server_post/tasks/metallb.yml index 07a23b0..7699fb4 100644 --- a/roles/k3s_server_post/tasks/metallb.yml +++ b/roles/k3s_server_post/tasks/metallb.yml @@ -83,9 +83,23 @@ loop_control: label: "{{ item.description }}" +- name: Set metallb webhook service name + set_fact: + metallb_webhook_service_name: >- + {{ + ( + (metal_lb_controller_tag_version | regex_replace('^v', '')) + is + version('0.14.4', '<', version_type='semver') + ) | ternary( + 'webhook-service', + 'metallb-webhook-service' + ) + }} + - name: Test metallb-system webhook-service endpoint command: >- - k3s kubectl -n metallb-system get endpoints webhook-service + k3s kubectl -n metallb-system get endpoints {{ metallb_webhook_service_name }} changed_when: false with_items: "{{ groups[group_name_master | default('master')] }}" run_once: true