From fed2910c7f312fd92e5875aa4af05a4c92097d76 Mon Sep 17 00:00:00 2001 From: hansinikarunarathne Date: Thu, 15 Aug 2024 13:36:28 +0530 Subject: [PATCH] fixing yaml file linting issues Signed-off-by: hansinikarunarathne --- tests/gh-actions/install_calico.sh | 0 tests/gh-actions/kind-cluster.yaml | 21 +++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) mode change 100755 => 100644 tests/gh-actions/install_calico.sh diff --git a/tests/gh-actions/install_calico.sh b/tests/gh-actions/install_calico.sh old mode 100755 new mode 100644 diff --git a/tests/gh-actions/kind-cluster.yaml b/tests/gh-actions/kind-cluster.yaml index fc9a381d3..db8c0aa74 100644 --- a/tests/gh-actions/kind-cluster.yaml +++ b/tests/gh-actions/kind-cluster.yaml @@ -8,15 +8,15 @@ containerdConfigPatches: # This is needed in order to support projected volumes with service account tokens. # See: https://kubernetes.slack.com/archives/CEKK1KTN2/p1600268272383600 kubeadmConfigPatches: - - | - apiVersion: kubeadm.k8s.io/v1beta2 - kind: ClusterConfiguration - metadata: - name: config - apiServer: - extraArgs: - "service-account-issuer": "kubernetes.default.svc" - "service-account-signing-key-file": "/etc/kubernetes/pki/sa.key" +- | + apiVersion: kubeadm.k8s.io/v1beta2 + kind: ClusterConfiguration + metadata: + name: config + apiServer: + extraArgs: + "service-account-issuer": "kubernetes.default.svc" + "service-account-signing-key-file": "/etc/kubernetes/pki/sa.key" networking: disableDefaultCNI: true podSubnet: 192.168.0.0/16 @@ -26,4 +26,5 @@ nodes: - role: worker image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 - role: worker - image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 \ No newline at end of file + image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 + \ No newline at end of file