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: deploy:
image: bitnami/kubectl:latest image: bitnami/kubectl:latest
environment: environment:
KUBECONFIG_DATA: KUBECONFIG_B64:
from_secret: kubeconfig from_secret: kubeconfig
commands: commands:
- mkdir -p ~/.kube - 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 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 - kubectl rollout status deployment/research-notes -n projects --timeout=120s
when: when: