From c7e3bf92336a2371b4f634efc8583c4cb15889cb Mon Sep 17 00:00:00 2001 From: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:13:49 +0530 Subject: [PATCH] fix configurations issues Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- ...stall_KinD_create_KinD_cluster_install_kustomize.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh index cd40b5b999..37e80d0fd1 100644 --- a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh +++ b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh @@ -33,8 +33,8 @@ kind: Cluster # Configure registry for KinD. containerdConfigPatches: - |- - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."$REGISTRY_NAME:$REGISTRY_PORT"] - endpoint = ["http://$REGISTRY_NAME:$REGISTRY_PORT"] + [plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors.\"$REGISTRY_NAME:$REGISTRY_PORT\"] + endpoint = [\"http://$REGISTRY_NAME:$REGISTRY_PORT\"] # This is needed in order to support projected volumes with service account tokens. # See: https://kubernetes.slack.com/archives/CEKK1KTN2/p1600268272383600 kubeadmConfigPatches: @@ -45,8 +45,8 @@ kubeadmConfigPatches: name: config apiServer: extraArgs: - "service-account-issuer": "kubernetes.default.svc" - "service-account-signing-key-file": "/etc/kubernetes/pki/sa.key" + \"service-account-issuer\": \"kubernetes.default.svc\" + \"service-account-signing-key-file\": \"/etc/kubernetes/pki/sa.key\" nodes: - role: control-plane image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 @@ -63,4 +63,4 @@ echo "Install Kustomize ..." tar -xzvf kustomize_v5.2.1_linux_amd64.tar.gz chmod a+x kustomize sudo mv kustomize /usr/local/bin/kustomize -} || { echo "Failed to install Kustomize"; exit 1; } \ No newline at end of file +} || { echo "Failed to install Kustomize"; exit 1; }