From 58bbfe40500c3400aa7c6dd5d1ca536be1a30266 Mon Sep 17 00:00:00 2001 From: Johannes Thiem Date: Mon, 15 Apr 2024 09:11:54 +0200 Subject: [PATCH] fix: metrics issue --- .github/workflows/end2end.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/end2end.yml b/.github/workflows/end2end.yml index 40dad2f..69bc7b3 100644 --- a/.github/workflows/end2end.yml +++ b/.github/workflows/end2end.yml @@ -16,11 +16,19 @@ jobs: with: version: 'v1.26.9-k3s1' + - name: Secure Kubeconfig + run: | + chmod 600 /tmp/output/kubeconfig-v1.26.9-k3s1.yaml + - name: Setup Helm run: | curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash helm version + - name: Install Metrics Server + run: | + kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml + - name: Get Image Tag id: version run: echo "value=commit-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT