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

chore(KFLUXVNGD-155): Add custom certificate support for git clone task #1814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hmariset
Copy link
Contributor

Add param to support the custom certificate support for git-clone-oci-ta task to connect to internal registry.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-155

@hmariset hmariset requested a review from avi-biton January 13, 2025 14:07
@hmariset hmariset requested a review from a team as a code owner January 13, 2025 14:07
@hmariset hmariset marked this pull request as draft January 13, 2025 14:20
@hmariset hmariset force-pushed the KFLUXVNGD-155 branch 5 times, most recently from 69d2738 to e4568e5 Compare January 15, 2025 16:53
@hmariset hmariset changed the title chore(KFLUXVNGD-148): Add custom certificate support for git clone task chore(KFLUXVNGD-155): Add custom certificate support for git clone task Jan 15, 2025
@hmariset hmariset marked this pull request as ready for review January 15, 2025 17:21
@hmariset hmariset force-pushed the KFLUXVNGD-155 branch 5 times, most recently from 9cdc9b9 to 57840dd Compare January 17, 2025 21:24
@@ -159,6 +159,12 @@ func perform(task *pipeline.Task, recipe *Recipe) error {
Name: "workdir",
MountPath: "/var/workdir",
}
trustedVolumeMount := core.VolumeMount{
Name: "trusted-ca",
Copy link
Member

@yftacherzog yftacherzog Jan 20, 2025

Choose a reason for hiding this comment

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

I'm not sure we should hard code the name of the volume. Maybe we can have trusted-ca as the default, and include an optional recipe field for specifying a different volume name.

Same goes for the sub-path. The volume might have the certificate stored under a different path.

I think we also need to have it documented.

Add param to support the custom certificate support for
git-clone-oci-ta task to connect to internal registry.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-155
Signed-off-by: Homaja Marisetty <[email protected]>
@openshift-merge-robot
Copy link

PR needs rebase.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants