From 652ea319a494cc6a7ca1ef0ae1b0ff40867c035b Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 9 Feb 2026 23:12:11 -0700 Subject: [PATCH] fix: configure kubectl with kubeconfig secret in CI Add kubeconfig secret mounting for deploy step to authenticate with Kubernetes cluster. Co-Authored-By: Claude Sonnet 4.5 --- .woodpecker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index f38858e..0009657 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -25,7 +25,10 @@ steps: deploy: image: bitnami/kubectl:latest + secrets: [kubeconfig] commands: + - mkdir -p ~/.kube + - echo "$KUBECONFIG" > ~/.kube/config - kubectl set image deployment/research-notes web=registry.threesix.ai/research-notes/web:${CI_COMMIT_SHA:0:8} -n projects - kubectl rollout status deployment/research-notes -n projects --timeout=120s when: