From 60e81678c969f17cd2f7005853e2b7182f66b615 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 2 May 2024 23:01:45 +0200 Subject: [PATCH] Debug --- .forgejo/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 70f258c..fe7b37a 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -9,6 +9,7 @@ jobs: - name: Clone repository run: git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git src - run: "curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" https://kubernetes.default.svc/api/v1/namespaces/default/pods" + - run: nix run nixpkgs#kubectl -- --help # - run: nix run nixpkgs#kubectl -- config set-cluster my-cluster --server=https://kubernetes.default --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt # - run: nix run nixpkgs#kubectl -- config set-credentials my-service-account --token=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) # - run: nix run nixpkgs#kubectl -- config set-context my-context --cluster=my-cluster --user=my-service-account