From 04783304844587a4f4dcbd5d161fbee318532c8a Mon Sep 17 00:00:00 2001 From: Homaja Marisetty Date: Mon, 12 Aug 2024 12:50:30 -0400 Subject: [PATCH] feat(RHTAPWATCH-1038): Support custom certificate in ec pipeline Add ConfigMap parameters to support custom certificate in enterprise-contract pipeline. Jira-Url: https://issues.redhat.com/browse/RHTAPWATCH-1038 Signed-off-by: Homaja Marisetty --- pipelines/enterprise-contract.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pipelines/enterprise-contract.yaml b/pipelines/enterprise-contract.yaml index eeb5388f62..21d0662570 100644 --- a/pipelines/enterprise-contract.yaml +++ b/pipelines/enterprise-contract.yaml @@ -51,6 +51,14 @@ spec: type: string description: Timeout setting for `ec validate`. default: "5m0s" + - name: CA_TRUST_CONFIGMAP_NAME + type: string + description: The name of the ConfigMap to read CA bundle data from. + default: "trusted-ca" + - name: CA_TRUST_CONFIG_MAP_KEY + type: string + description: The name of the key in the ConfigMap that contains the CA bundle data. + default: "ca-bundle.crt" results: - name: TEST_OUTPUT value: "$(tasks.verify.results.TEST_OUTPUT)" @@ -75,6 +83,10 @@ spec: value: "true" - name: TIMEOUT value: "$(params.TIMEOUT)" + - name: CA_TRUST_CONFIGMAP_NAME + value: "$(params.CA_TRUST_CONFIGMAP_NAME)" + - name: CA_TRUST_CONFIG_MAP_KEY + value: "$(params.CA_TRUST_CONFIG_MAP_KEY)" taskRef: resolver: bundles params: