Skip to content

Commit 94691c7

Browse files
committed
Explanation about sig check task params
I'm deliberately choosing not to check the correct params are provided bceause I don't want to introduce a layer of bash logic between the task and the command. Explain that for the bots. Ref: https://issues.redhat.com/browse/EC-1652
1 parent b46515d commit 94691c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ spec:
261261
"--policy" "${POLICY_CONFIGURATION}"
262262
)
263263
264+
# To keep bash logic as thin as possible we deliberately don't sanitize
265+
# these params. If something is wrong or missing let Conforma handle it.
264266
if [ -n "${CERTIFICATE_IDENTITY}" ] && [ -n "${CERTIFICATE_OIDC_ISSUER}" ]; then
265267
cmd_args+=(
266268
"--certificate-identity" "${CERTIFICATE_IDENTITY}"

0 commit comments

Comments
 (0)