Add Venafi NGTS e2e job and credentials preset#1177
Conversation
|
Hi @FelixPhipps. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
cert-manager/cert-manager has added support for a new Venafi issuer backend called NGTS (Palo Alto Networks Next Generation Trust Services), which uses OAuth 2.0 Client Credentials. The e2e tests are already written and merged in cert-manager, and skip automatically when the required env vars are absent. This PR: - Adds preset-venafi-ngts-credentials to map the venafi-ngts Kubernetes secret to the five env vars the tests expect (VENAFI_NGTS_ZONE, VENAFI_NGTS_TOKEN_ENDPOINT, VENAFI_NGTS_TSG_ID, VENAFI_NGTS_CLIENT_ID, VENAFI_NGTS_CLIENT_SECRET) - Adds preset-ginkgo-focus-venafi-ngts to set GINKGO_FOCUS="Venafi NGTS" - Adds the pull-cert-manager-*-e2e-v1-*-issuers-venafi-ngts presubmit job for master, release-1.19, and release-1.20, mirroring the existing venafi-cloud job structure exactly Note: the venafi-ngts Kubernetes secret does not exist in the cluster yet. A cluster admin needs to create it before the tests will exercise anything — until then the tests will skip gracefully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: felix.phipps <felix.phipps@cyberark.com>
e3fb4ed to
6fa9b85
Compare
|
I've applied the following to the cluster apiVersion: v1
kind: Secret
metadata:
name: venafi-ngts
namespace: test-pods
stringData:
zone: "Default"
token-endpoint: "https://auth.apps.paloaltonetworks.com/oauth2/access_token"
tsg-id: "tsg_id:1271410543"
client-id: "Felix-test-2@1271410543.iam.panserviceaccount.com"
client-secret: REDACTED |
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maelvls 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 |
|
@FelixPhipps: 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. |
cert-manager/cert-manager has added support for a new Venafi issuer backend called NGTS (Palo Alto Networks Next Generation Trust Services), which uses OAuth 2.0 Client Credentials. The e2e tests are already written and merged in cert-manager (
test/e2e/suite/issuers/venafi/ngts/andtest/e2e/suite/conformance/certificates/venafingts/) and skip automatically when the required env vars are absent.This PR wires up the Prow configuration so the tests can be triggered and run.