From 5dca1b10de3e2d87dfbe1679799259d49aff5b62 Mon Sep 17 00:00:00 2001 From: jagpreetsinghsasan Date: Wed, 3 Apr 2024 11:14:14 +0530 Subject: [PATCH] Mods patched Signed-off-by: jagpreetsinghsasan --- examples/bevel/prequisites/setup_k8ind.go | 1 + examples/bevel/tpls/k8ind.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/bevel/prequisites/setup_k8ind.go b/examples/bevel/prequisites/setup_k8ind.go index 31c364a4cc3..853b0b40091 100644 --- a/examples/bevel/prequisites/setup_k8ind.go +++ b/examples/bevel/prequisites/setup_k8ind.go @@ -45,6 +45,7 @@ func KindConfig(logger *zap.Logger) { } else { utils.ExecuteCmd([]string{"bash", "-c", "kind create cluster --config repo/build/kindconfig.yaml --name bevelcluster"}, false, logger) utils.ExecuteCmd([]string{"bash", "-c", "kind export kubeconfig --name bevelcluster"},false,logger) + utils.ExecuteCmd([]string{"bash", "-c", "kubectl config view --raw > repo/build/config"},false,logger) } } diff --git a/examples/bevel/tpls/k8ind.go b/examples/bevel/tpls/k8ind.go index 68f919e7f1b..330b841793b 100644 --- a/examples/bevel/tpls/k8ind.go +++ b/examples/bevel/tpls/k8ind.go @@ -7,11 +7,11 @@ nodes: {{ $IncrementedControlPaneCount := .ControlPlaneCount | add1 | int }} {{ range $i, $e := untilStep 1 $IncrementedControlPaneCount 1 }} - role: control-plane - image: kindest/node:v1.27.11@sha256:681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843 + image: kindest/node:v1.26.14@sha256:5d548739ddef37b9318c70cb977f57bf3e5015e4552be4e27e57280a8cbb8e4f {{ end }} {{ $IncrementedWorkerCount := .WorkerNodeCount | add1 | int }} {{ range $i, $e := untilStep 1 $IncrementedWorkerCount 1 }} - role: worker - image: kindest/node:v1.27.11@sha256:681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843 + image: kindest/node:v1.26.14@sha256:5d548739ddef37b9318c70cb977f57bf3e5015e4552be4e27e57280a8cbb8e4f {{ end }} `