mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: use base64 encoded kubeconfig for pr deployments (#13851)
This commit is contained in:
committed by
GitHub
parent
a123badccc
commit
c62512a8bb
@@ -253,7 +253,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