-
Notifications
You must be signed in to change notification settings - Fork 33
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
(feature): add skip-tls-verify option for image sources #201
(feature): add skip-tls-verify option for image sources #201
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #201 +/- ##
==========================================
+ Coverage 39.70% 40.04% +0.33%
==========================================
Files 8 8
Lines 471 477 +6
==========================================
+ Hits 187 191 +4
- Misses 265 266 +1
- Partials 19 20 +1
☔ View full report in Codecov by Sentry. |
d52a86d
to
584404c
Compare
What if we used an environment variable instead? We'll read the environment variable from the binary and set a |
584404c
to
5df03ef
Compare
5df03ef
to
5804286
Compare
This would disable TLS verification for all image registries which I'm not sure is desirable. The current state of this PR gives the flexibility to disable TLS verification on a per catalog basis. This would also require modification to the catalogd controller-manager deployment which the current PR does not require. I'm happy to continue this discussion further but, IMO, the current state of the PR is more desirable than a global disable TLS verification option. |
Okay I'm good with this PR I'll leave it upto @joelanford to hit the merge button |
Signed-off-by: Bryce Palmer <[email protected]>
5804286
to
d798110
Compare
Signed-off-by: Bryce Palmer <[email protected]>
Description
skipTLSVerify
field to theimage
source type to allow users to specify that a catalog is being sourced from an insecure registry. When settingskipTLSVerify: true
, catalogd will skip TLS verification when pulling the catalog image.Motivation