fix: use base64 encoding for kubeconfig secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jordan 2026-02-10 12:26:44 -07:00
parent 6b44f2eded
commit 0666542d71

View File

@ -26,11 +26,11 @@ steps:
deploy:
image: bitnami/kubectl:latest
environment:
KUBECONFIG_DATA:
KUBECONFIG_B64:
from_secret: kubeconfig
commands:
- mkdir -p ~/.kube
- echo "$KUBECONFIG_DATA" > ~/.kube/config
- echo "$KUBECONFIG_B64" | base64 -d > ~/.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: