Conversation
…stalls Adds hack/ark/test-e2e-jwt.sh (make ark-test-e2e-jwt), mirroring test-e2e.sh but using --set config.cyberark.serviceId/subdomain instead of a Secret. Asserts the agent-credentials Secret does not exist when ARK_DISCOVERY_API is unset, proving the install is genuinely Secret-free. Not wired into .github/workflows/tests.yaml: no CI-side Conjur JWT onboarding automation exists yet (see #839), and a fresh kind cluster's OIDC issuer won't match any pre-onboarded authenticator. Requires targeting an already-onboarded cluster via USE_EXISTING_CLUSTER=true.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #839. Adds
hack/ark/test-e2e-jwt.sh(make ark-test-e2e-jwt), a local dev script mirroringtest-e2e.shbut exercising the Conjur-JWT-only path added in #838:--set config.cyberark.serviceId/config.cyberark.subdomain, noagent-credentialsSecret at all. It asserts the Secret genuinely doesn't exist whenARK_DISCOVERY_APIis unset, so a regression that silently starts requiring one again would fail this check.Not wired into CI
.github/workflows/tests.yamlis untouched. A live run needs the target cluster already onboarded in Conjur Cloud (anauthn-jwtauthenticator trusting that cluster's OIDC issuer/JWKS, a registered workload, upload grants) — no such onboarding automation exists in this repo, and CI has no secrets for it. A freshkind create clusterper run also won't match any pre-onboarded authenticator, since JWT trust is bound to a specific issuer. The script requiresUSE_EXISTING_CLUSTER=truepointed at whichever cluster you've already onboarded by hand.Test plan
bash -n hack/ark/test-e2e-jwt.sh— syntax check.make -n ark-test-e2e-jwt— target resolves correctly.test-e2e.shto confirm nothing outside the auth-method wiring changed.