Skip to content

Commit

Permalink
feat(RHTAPWATCH-1038): Support custom certificate in ec pipeline
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hmariset authored and lcarva committed Aug 13, 2024
1 parent 3984e5f commit 0478330
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pipelines/enterprise-contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand All @@ -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:
Expand Down

0 comments on commit 0478330

Please sign in to comment.