From eb9fd8f03a2eb4e9b76b88950ff98130947b3108 Mon Sep 17 00:00:00 2001 From: Michal Muransky Date: Sun, 17 Dec 2023 16:13:05 +0100 Subject: [PATCH 1/3] feat: parametrize kubevip-cloud-provider-image --- templates/kube-vip/kube-vip-cloud-controller.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/kube-vip/kube-vip-cloud-controller.yml.j2 b/templates/kube-vip/kube-vip-cloud-controller.yml.j2 index 3ddb8b6..de6927e 100644 --- a/templates/kube-vip/kube-vip-cloud-controller.yml.j2 +++ b/templates/kube-vip/kube-vip-cloud-controller.yml.j2 @@ -58,7 +58,7 @@ spec: - command: - /kube-vip-cloud-provider - --leader-elect-resource-name=kube-vip-cloud-controller - image: ghcr.io/kube-vip/kube-vip-cloud-provider:v0.0.4 + image: "{{ rke2_kubevip_cloud_provider_image }}" name: kube-vip-cloud-provider imagePullPolicy: Always resources: {} From 27820f9dc1ab172c9c53c51392b0c2d02cb03e5f Mon Sep 17 00:00:00 2001 From: Michal Muransky Date: Sun, 17 Dec 2023 16:13:50 +0100 Subject: [PATCH 2/3] feat: kubevip-cloud-provider-image default value --- defaults/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index f9b578a..f9c93ea 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -43,6 +43,9 @@ rke2_kubevip_svc_enable: true # Specify which image is used for kube-vip container rke2_kubevip_image: ghcr.io/kube-vip/kube-vip:v0.6.4 +# Specify which image is used for kube-vip cloud provider container +rke2_kubevip_cloud_provider_image: ghcr.io/kube-vip/kube-vip-cloud-provider:v0.0.4 + # (Optional) A list of kube-vip flags # All flags can be found here https://kube-vip.io/docs/installation/flags/ # rke2_kubevip_args: [] From 5fcb8666e2efa583fa414de78a1137e93ad99859 Mon Sep 17 00:00:00 2001 From: Michal Muransky Date: Sun, 17 Dec 2023 16:14:25 +0100 Subject: [PATCH 3/3] docs: add rke2_kubevip_cloud_provider_image --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 19411e3..2ce7409 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,9 @@ rke2_kubevip_svc_enable: true # Specify which image is used for kube-vip container rke2_kubevip_image: ghcr.io/kube-vip/kube-vip:v0.6.4 +# Specify which image is used for kube-vip cloud provider container +rke2_kubevip_cloud_provider_image: ghcr.io/kube-vip/kube-vip-cloud-provider:v0.0.4 + # (Optional) A list of kube-vip flags # All flags can be found here https://kube-vip.io/docs/installation/flags/ # rke2_kubevip_args: []