Skip to content

Commit 04e4326

Browse files
feat(e2e): adds structured authentication configuration to remote cluster (#39)
* (chore): adds structured authentication to remote cluster * (chore): removes continue on error
1 parent 0e1d29b commit 04e4326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflows/e2e/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ 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
6364
kubectl create clusterrolebinding "oidc-reviewer-binding" \
6465
--clusterrole="system:service-account-issuer-discovery" \
6566
--group="system:unauthenticated"
@@ -86,7 +87,6 @@ runs:
8687
- name: "E2E Run"
8788
shell: bash
8889
id: e2e
89-
continue-on-error: true
9090
env:
9191
SCENARIO: ${{ inputs.scenario }}
9292
EXECUTION_ENV: gh-actions

0 commit comments

Comments
 (0)