From c6a93206481852ae10892f35de1c803d18025cee Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Fri, 10 Apr 2026 23:06:42 +1000 Subject: [PATCH] export kubeconfig values so template works --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f4731a7..42b759db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -250,9 +250,9 @@ jobs: --clusterrole=cluster-admin \ --serviceaccount=default:release-tests-runner - TOKEN=$(kubectl create token release-tests-runner -n default --duration=2h) - SERVER=$(kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}') - CA=$(kubectl config view --minify --raw -o jsonpath='{.clusters[0].cluster.certificate-authority-data}') + export TOKEN=$(kubectl create token release-tests-runner -n default --duration=2h) + export SERVER=$(kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}') + export CA=$(kubectl config view --minify --raw -o jsonpath='{.clusters[0].cluster.certificate-authority-data}') kubectl create secret generic codex-dist-tests-app-kubeconfig \ --from-file=kubeconfig.yaml=<(envsubst < .github/release/kubeconfig-template.yaml) \