Repository navigation
Add NGTS credentials to periodic Venafi E2E job - #1208
cert-manager-prow[bot] merged 1 commit into
Conversation
The periodic Venafi E2E job only had TPP and Cloud credential presets, so NGTS tests were silently skipped in every periodic run. Additionally, the venafi-ngts Kubernetes secret in the Prow cluster needs to be recreated with: - New service account credentials (the original ones are expired) - A bare numeric TSG ID (the code prepends "tsg_id:" itself, so the secret value "tsg_id:..." caused a double-prefix "tsg_id:tsg_id:...") Signed-off-by: Richard Wall <[email protected]> Co-Authored-By: Claude <[email protected]> Signed-off-by: Richard Wall <[email protected]>
3624cf1 to
79e8b2a
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@wallrj-cyberark: Updated the
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Summary
The NGTS E2E tests have never passed in CI. This PR fixes the periodic
job so that NGTS tests are no longer silently skipped.
preset-venafi-ngts-credentialsto the periodic Venafi E2E job(
ci-cert-manager-master-e2e-v1-35-issuers-venafi), which previouslyonly had TPP and Cloud credential presets.
Motivation
While investigating the Venafi TPP auth regression
(cert-manager/cert-manager#8843), I triggered the NGTS presubmit for
the first time and discovered two problems:
Expired credentials: The
venafi-ngtssecret contains credentialsfor
[email protected], which returninvalid_clientfrom the NGTS OAuth endpoint.Double-prefixed TSG ID: The secret's
tsg-idfield was set totsg_id:1271410543, butvenaficlient.goalready prepends
tsg_id:when building the OAuth scope, resulting intsg_id:tsg_id:1271410543. The secret value must be the bare numericTSG ID.
Periodic job skips NGTS: Without
preset-venafi-ngts-credentials,the periodic job never supplies the NGTS env vars, so all NGTS tests
skip with "Venafi NGTS TSGID must be set".
The NGTS presubmit was added in #1177 and the credentials were created
by @maelvls, but the test was never actually triggered to verify the
credentials worked. The corresponding cert-manager PR
(cert-manager/cert-manager#8779) was also merged without running the
NGTS presubmit.
Cluster secret update
The
venafi-ngtsKubernetes secret in thetest-podsnamespace of theProw untrusted cluster has been updated with new credentials on a new
TSG and a corrected TSG ID (bare numeric, no
tsg_id:prefix).The NGTS presubmit has been triggered on cert-manager/cert-manager#8843
to verify the new credentials work in CI.
Test evidence
I verified locally that the new credentials work and the NGTS E2E test
passes:
Generated with Claude (Opus 4.6)