diff --git a/workflows/e2e/action.yaml b/workflows/e2e/action.yaml index f05731f..d37436d 100644 --- a/workflows/e2e/action.yaml +++ b/workflows/e2e/action.yaml @@ -60,7 +60,8 @@ runs: mkdir -p bin kind get kubeconfig --name ${{ inputs.admin-cluster-name }} > ${{ runner.temp }}/admin-kubeconfig.yaml kubectl get cm kube-root-ca.crt -n default -o json | jq -r '.data."ca.crt"' > bin/greenhouse-admin-ca.crt - yq eval --inplace '.jwt[0].issuer.certificateAuthority = load_str("./bin/greenhouse-admin-ca.crt")' ./dev-env/structured-auth.yaml + cp ./dev-env/structured-auth.yaml ./bin/structured-auth.yaml + yq eval --inplace '.jwt[0].issuer.certificateAuthority = load_str("./bin/greenhouse-admin-ca.crt")' ./bin/structured-auth.yaml kubectl create clusterrolebinding "oidc-reviewer-binding" \ --clusterrole="system:service-account-issuer-discovery" \ --group="system:unauthenticated" @@ -97,4 +98,4 @@ runs: E2E_REPORT_PATH: ${{github.workspace}}/bin/${{inputs.scenario}}-${{matrix.k8s-version}}.json run: | echo "result=$CONTROLLER_LOGS_PATH" >> $GITHUB_OUTPUT - make e2e \ No newline at end of file + make e2e