From 5a08bc344e228e4e0c09d2bb3ca3e73941474352 Mon Sep 17 00:00:00 2001 From: shubham14bajpai Date: Thu, 31 Mar 2022 13:19:21 +0530 Subject: [PATCH] Updates kube-vip images in templates to v0.4.1 Signed-off-by: shubham14bajpai --- .../v1beta1/templates/docker/cluster-template.yaml | 12 +++++++++--- .../v1beta1/templates/docker/cluster-with-kcp.yaml | 12 +++++++++--- .../v1beta1/templates/e2e/cluster-template.yaml | 12 +++++++++--- .../v1beta1/templates/e2e/cluster-with-kcp.yaml | 12 +++++++++--- .../v1beta1/templates/vm/cluster-template.yaml | 12 +++++++++--- .../v1beta1/templates/vm/cluster-with-kcp.yaml | 12 +++++++++--- 6 files changed, 54 insertions(+), 18 deletions(-) diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-template.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-template.yaml index aae9abb18..27cb3d5aa 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-template.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-template.yaml @@ -89,8 +89,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -105,7 +107,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -113,11 +115,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-with-kcp.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-with-kcp.yaml index 2e24646a8..ed8ab57a9 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-with-kcp.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/docker/cluster-with-kcp.yaml @@ -69,8 +69,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -85,7 +87,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -93,11 +95,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-template.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-template.yaml index 1283c619a..711321863 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-template.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-template.yaml @@ -112,8 +112,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -128,7 +130,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -136,11 +138,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-with-kcp.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-with-kcp.yaml index aae48f430..ef6b85792 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-with-kcp.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/e2e/cluster-with-kcp.yaml @@ -72,8 +72,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -88,7 +90,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -96,11 +98,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-template.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-template.yaml index e37ebb751..549dd27f5 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-template.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-template.yaml @@ -87,8 +87,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -103,7 +105,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -111,11 +113,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf diff --git a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-with-kcp.yaml b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-with-kcp.yaml index d79611dbd..5caedb6d2 100644 --- a/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-with-kcp.yaml +++ b/test/e2e/data/infrastructure-provider-byoh/v1beta1/templates/vm/cluster-with-kcp.yaml @@ -72,8 +72,10 @@ spec: spec: containers: - args: - - start + - manager env: + - name: cp_enable + value: "true" - name: vip_arp value: "true" - name: vip_leaderelection @@ -88,7 +90,7 @@ spec: value: "10" - name: vip_retryperiod value: "2" - image: ghcr.io/kube-vip/kube-vip:v0.3.5 + image: ghcr.io/kube-vip/kube-vip:v0.4.1 imagePullPolicy: IfNotPresent name: kube-vip resources: {} @@ -96,11 +98,15 @@ spec: capabilities: add: - NET_ADMIN - - SYS_TIME + - NET_RAW volumeMounts: - mountPath: /etc/kubernetes/admin.conf name: kubeconfig hostNetwork: true + hostAliases: + - hostnames: + - kubernetes + ip: 127.0.0.1 volumes: - hostPath: path: /etc/kubernetes/admin.conf