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

adding option for skipping SSL verification when using Git #1419

Merged
merged 6 commits into from
Jan 29, 2024

Conversation

sethiyash
Copy link
Contributor

What this PR does / why we need it:

#1286

Which issue(s) this PR fixes:

#1286

Fixes #

Does this PR introduce a user-facing change?


Additional Notes for your reviewer:

Review Checklist:
  • Follows the developer guidelines
  • Relevant tests are added or updated
  • Relevant docs in this repo added or updated
  • Relevant carvel.dev docs added or updated in a separate PR and there's
    a link to that PR
  • Code is at least as readable and maintainable as it was before this
    change

Additional documentation e.g., Proposal, usage docs, etc.:


@sethiyash sethiyash changed the title Kc adding option for skipping SSL verification when using Git adding option for skipping SSL verification when using Git Dec 13, 2023
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

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

The changes in the PR looks good to me. However, I think the idea was to use the existing dangerousSkipTLSVerify flag available in kapp config, so we need to extend the functionality here

@sethiyash sethiyash force-pushed the kc-skip-tls branch 2 times, most recently from e1470ed to 3bd38c2 Compare January 8, 2024 10:32
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

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

Is it possible to add a test for this change?

pkg/fetch/vendir.go Outdated Show resolved Hide resolved
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

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

Adding an e2e test with a local gitlab server might be a bit much, but it would be great if we can specify what sort of manual testing has been done. (We follow these steps and create an App which uses local gitlab server)

pkg/fetch/vendir.go Outdated Show resolved Hide resolved
pkg/fetch/vendir_test.go Outdated Show resolved Hide resolved
pkg/fetch/vendir_test.go Show resolved Hide resolved
pkg/fetch/vendir.go Outdated Show resolved Hide resolved
pkg/fetch/vendir.go Outdated Show resolved Hide resolved
@sethiyash sethiyash force-pushed the kc-skip-tls branch 2 times, most recently from 97bc262 to be04933 Compare January 12, 2024 06:07
pkg/fetch/vendir.go Show resolved Hide resolved
pkg/fetch/vendir.go Outdated Show resolved Hide resolved
@sethiyash sethiyash force-pushed the kc-skip-tls branch 2 times, most recently from 57c820a to 5c7ebfe Compare January 25, 2024 10:43
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

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

LGTM! (Apart from the minor comment)

pkg/fetch/vendir_test.go Outdated Show resolved Hide resolved
Signed-off-by: Yash Sethiya <[email protected]>
@praveenrewar praveenrewar merged commit 855063e into develop Jan 29, 2024
10 checks passed
@praveenrewar praveenrewar deleted the kc-skip-tls branch January 29, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants