From e61ac36f6832fac80595c7fe9fd8ca9c16b5f2dd Mon Sep 17 00:00:00 2001 From: Manjunath Kumatagi Date: Fri, 22 Apr 2022 13:44:13 +0530 Subject: [PATCH] Update the kube-vip to v0.4.4 (#646) --- .../cluster-template-powervs-cloud-provider.yaml | 13 ++++++++----- templates/cluster-template-powervs.yaml | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/templates/cluster-template-powervs-cloud-provider.yaml b/templates/cluster-template-powervs-cloud-provider.yaml index 913b5bf9e..e92bf9e54 100644 --- a/templates/cluster-template-powervs-cloud-provider.yaml +++ b/templates/cluster-template-powervs-cloud-provider.yaml @@ -105,10 +105,10 @@ spec: env: - name: vip_arp value: "true" - - name: vip_interface - value: "env2" - name: port value: "6443" + - name: vip_interface + value: env2 - name: vip_cidr value: "${IBMPOWERVS_VIP_CIDR}" - name: cp_enable @@ -127,9 +127,9 @@ spec: value: "3" - name: vip_retryperiod value: "1" - - name: vip_address + - name: address value: "${IBMPOWERVS_VIP}" - image: docker.io/plndr/kube-vip:v0.3.7 + image: ghcr.io/kube-vip/kube-vip:v0.4.4 imagePullPolicy: Always name: kube-vip resources: {} @@ -138,10 +138,13 @@ spec: add: - NET_ADMIN - NET_RAW - - SYS_TIME volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 hostNetwork: true volumes: - hostPath: diff --git a/templates/cluster-template-powervs.yaml b/templates/cluster-template-powervs.yaml index 6054f16f4..17106e6a7 100644 --- a/templates/cluster-template-powervs.yaml +++ b/templates/cluster-template-powervs.yaml @@ -103,10 +103,10 @@ spec: env: - name: vip_arp value: "true" - - name: vip_interface - value: "env2" - name: port value: "6443" + - name: vip_interface + value: env2 - name: vip_cidr value: "${IBMPOWERVS_VIP_CIDR}" - name: cp_enable @@ -125,9 +125,9 @@ spec: value: "3" - name: vip_retryperiod value: "1" - - name: vip_address + - name: address value: "${IBMPOWERVS_VIP}" - image: docker.io/plndr/kube-vip:v0.3.7 + image: ghcr.io/kube-vip/kube-vip:v0.4.4 imagePullPolicy: Always name: kube-vip resources: {} @@ -136,10 +136,13 @@ spec: add: - NET_ADMIN - NET_RAW - - SYS_TIME volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 hostNetwork: true volumes: - hostPath: