From 709e48fb5b23a7d25be0ed5d938ac9fc3708640d Mon Sep 17 00:00:00 2001 From: jarpat Date: Thu, 1 Feb 2024 13:35:37 -0500 Subject: [PATCH 1/3] add kube_vip_cloud_provider_version --- docs/REQUIREMENTS.md | 2 +- roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml | 7 +++++++ roles/kubernetes/loadbalancer/kube_vip/tasks/main.yaml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml diff --git a/docs/REQUIREMENTS.md b/docs/REQUIREMENTS.md index 749db94..5ed36a6 100644 --- a/docs/REQUIREMENTS.md +++ b/docs/REQUIREMENTS.md @@ -68,7 +68,7 @@ The current repository supports the provisioning of vSphere VMs. The following t | Requirement | Description | | --- | --- | -| Disk | The `root` partition `/` must be on `/dev/sd2`. | +| Disk | The `root` partition `/` must be on `/dev/sd2` and must be an `XFS` file system | | Hard Disk | Specify `Thin Provision` to adjust the size of the disk to match the machine requirements that were listed previously. | ### Physical Machines or Linux VMs diff --git a/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml new file mode 100644 index 0000000..fbc770c --- /dev/null +++ b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml @@ -0,0 +1,7 @@ +# Copyright © 2022-2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +--- +# https://github.com/kube-vip/kube-vip-cloud-provider +# value must be a tag or branch +kube_vip_cloud_provider_version: "v0.0.9" \ No newline at end of file diff --git a/roles/kubernetes/loadbalancer/kube_vip/tasks/main.yaml b/roles/kubernetes/loadbalancer/kube_vip/tasks/main.yaml index aae946e..9316518 100644 --- a/roles/kubernetes/loadbalancer/kube_vip/tasks/main.yaml +++ b/roles/kubernetes/loadbalancer/kube_vip/tasks/main.yaml @@ -9,7 +9,7 @@ block: - name: Install kube-vip Cloud Provider ansible.builtin.shell: | - kubectl apply -f https://raw.githubusercontent.com/kube-vip/kube-vip-cloud-provider/main/manifest/kube-vip-cloud-controller.yaml + kubectl apply -f https://raw.githubusercontent.com/kube-vip/kube-vip-cloud-provider/{{ kube_vip_cloud_provider_version }}/manifest/kube-vip-cloud-controller.yaml tags: - install - update From bf555e45f280f761afe64f8609f1950280ec681f Mon Sep 17 00:00:00 2001 From: jarpat Date: Thu, 1 Feb 2024 13:37:47 -0500 Subject: [PATCH 2/3] resolving linting issue, add newline --- roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml index fbc770c..103b93e 100644 --- a/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml +++ b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml @@ -4,4 +4,4 @@ --- # https://github.com/kube-vip/kube-vip-cloud-provider # value must be a tag or branch -kube_vip_cloud_provider_version: "v0.0.9" \ No newline at end of file +kube_vip_cloud_provider_version: "v0.0.9" From c5b4c01a54262396ced58b62efeb03c03abadfcb Mon Sep 17 00:00:00 2001 From: jarpat Date: Fri, 2 Feb 2024 10:59:46 -0500 Subject: [PATCH 3/3] version to v0.0.8 --- roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml index 103b93e..3459067 100644 --- a/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml +++ b/roles/kubernetes/loadbalancer/kube_vip/defaults/main.yaml @@ -4,4 +4,4 @@ --- # https://github.com/kube-vip/kube-vip-cloud-provider # value must be a tag or branch -kube_vip_cloud_provider_version: "v0.0.9" +kube_vip_cloud_provider_version: "v0.0.8"