Skip to content

Commit 01041e6

Browse files
(chore): update structured-auth handling in action.yaml (#49)
1 parent e4a9eae commit 01041e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

workflows/e2e/action.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ runs:
6060
mkdir -p bin
6161
kind get kubeconfig --name ${{ inputs.admin-cluster-name }} > ${{ runner.temp }}/admin-kubeconfig.yaml
6262
kubectl get cm kube-root-ca.crt -n default -o json | jq -r '.data."ca.crt"' > bin/greenhouse-admin-ca.crt
63-
yq eval --inplace '.jwt[0].issuer.certificateAuthority = load_str("./bin/greenhouse-admin-ca.crt")' ./dev-env/structured-auth.yaml
63+
cp ./dev-env/structured-auth.yaml ./bin/structured-auth.yaml
64+
yq eval --inplace '.jwt[0].issuer.certificateAuthority = load_str("./bin/greenhouse-admin-ca.crt")' ./bin/structured-auth.yaml
6465
kubectl create clusterrolebinding "oidc-reviewer-binding" \
6566
--clusterrole="system:service-account-issuer-discovery" \
6667
--group="system:unauthenticated"
@@ -97,4 +98,4 @@ runs:
9798
E2E_REPORT_PATH: ${{github.workspace}}/bin/${{inputs.scenario}}-${{matrix.k8s-version}}.json
9899
run: |
99100
echo "result=$CONTROLLER_LOGS_PATH" >> $GITHUB_OUTPUT
100-
make e2e
101+
make e2e

0 commit comments

Comments
 (0)