mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
chore: use base64 encoded kubeconfig for pr deployments (#13849)
This commit is contained in:
@@ -101,7 +101,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -p ~/.kube
|
||||
echo "${{ secrets.PR_DEPLOYMENTS_KUBECONFIG }}" > ~/.kube/config
|
||||
echo "${{ secrets.PR_DEPLOYMENTS_KUBECONFIG_BASE64 }}" | base64 --decode > ~/.kube/config
|
||||
chmod 644 ~/.kube/config
|
||||
export KUBECONFIG=~/.kube/config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user