From 1f0ea6c7509cf4b5b931615004ba9cab9eb66475 Mon Sep 17 00:00:00 2001 From: Matt Reeves <admin@mafyuh.io> Date: Fri, 14 Feb 2025 01:01:23 -0500 Subject: [PATCH] Add verification step for kubectl and cluster connection in tofu workflow --- .forgejo/workflows/tofu.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/tofu.yml b/.forgejo/workflows/tofu.yml index 9d015bec..35842495 100644 --- a/.forgejo/workflows/tofu.yml +++ b/.forgejo/workflows/tofu.yml @@ -51,6 +51,10 @@ jobs: run: | printf "%s" "${{ steps.bitwarden-secrets.outputs.kube_config }}" > ~/.kube/config + - name: Verify kubectl and Cluster Connection + run: | + kubectl get nodes + - name: Setup OpenTofu uses: https://github.com/opentofu/setup-opentofu@v1.0.5