Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(RHTAPWATCH-1171): support custom cert in clair-scan #1266

Merged

Conversation

yftacherzog
Copy link
Member

Support mounting a custom ca-bundle to allow the clair-scan task to use a registry with a self-signed certificate.

@avi-biton
Copy link
Contributor

lgtm

- name: trusted-ca
mountPath: /etc/pki/tls/certs/ca-custom-bundle.crt
subPath: ca-bundle.crt
readOnly: true
- name: conftest-vulnerabilities
Copy link
Contributor

@chmeliik chmeliik Aug 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason not to add the volume to the conftest-vulnerabilities step? If there isn't, it may be better to put the volumeMounts in the stepTemplate to make sure it applies to all steps

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objections to add it that way. I'll give it a try.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@yftacherzog yftacherzog force-pushed the RHTAPWATCH-1171-clair-scan-custom-ca branch from 8c9a86f to e4b8c05 Compare August 13, 2024 09:13
Support mounting a custom ca-bundle to allow the clair-scan
task to use a registry with a self-signed certificate.

Signed-off-by: Yftach Herzog <[email protected]>
@yftacherzog yftacherzog force-pushed the RHTAPWATCH-1171-clair-scan-custom-ca branch from e4b8c05 to a0d942c Compare August 13, 2024 09:14
@mmorhun mmorhun added this pull request to the merge queue Aug 13, 2024
Merged via the queue into konflux-ci:main with commit c3427c8 Aug 13, 2024
9 checks passed
@yftacherzog yftacherzog deleted the RHTAPWATCH-1171-clair-scan-custom-ca branch August 15, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants