Skip to content

Allow user to skip verification on self-signed certs#100

Merged
pasha-codefresh merged 1 commit intoargoproj:masterfrom
jocelynthode:add-skip-insecure
Nov 28, 2022
Merged

Allow user to skip verification on self-signed certs#100
pasha-codefresh merged 1 commit intoargoproj:masterfrom
jocelynthode:add-skip-insecure

Conversation

@jocelynthode
Copy link
Contributor

The generic webhook is hardcoded to not skip insecure. I would like to be able to specify this as a webhook option.

@codecov
Copy link

codecov bot commented Aug 3, 2022

Codecov Report

Base: 49.38% // Head: 49.17% // Decreases project coverage by -0.21% ⚠️

Coverage data is based on head (8b26b94) compared to base (b36d196).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head 8b26b94 differs from pull request most recent head a8440c4. Consider uploading reports for the commit a8440c4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
- Coverage   49.38%   49.17%   -0.22%     
==========================================
  Files          31       31              
  Lines        1873     1873              
==========================================
- Hits          925      921       -4     
- Misses        746      749       +3     
- Partials      202      203       +1     
Impacted Files Coverage Δ
pkg/services/webhook.go 67.24% <100.00%> (ø)
pkg/controller/controller.go 52.38% <0.00%> (-3.18%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@pasha-codefresh
Copy link
Member

@jocelynthode could you please mention such an option in the documentation?

@jocelynthode jocelynthode force-pushed the add-skip-insecure branch 3 times, most recently from 859a409 to 8b26b94 Compare November 28, 2022 21:45
@jocelynthode
Copy link
Contributor Author

@pasha-codefresh : Oh wow, I had completely forgotten about this PR! Glad it's getting some attention :)

I have added documentation for the generic webhook as well as added the option to be used in the tests.

Let me know if I need to do something else

Signed-off-by: Jocelyn Thode <jocelyn@thode.email>
@pasha-codefresh
Copy link
Member

Great job @jocelynthode , thank you

@pasha-codefresh pasha-codefresh merged commit edbd2d4 into argoproj:master Nov 28, 2022
@pasha-codefresh
Copy link
Member

Please not forget update it in argocd

@jocelynthode
Copy link
Contributor Author

What do you mean? should I do something more to have this feature land in argocd?

emirot pushed a commit to emirot/notifications-engine that referenced this pull request Nov 29, 2022
Signed-off-by: Jocelyn Thode <jocelyn@thode.email>

Signed-off-by: Jocelyn Thode <jocelyn@thode.email>
Signed-off-by: emirot <emirot.nolan@gmail.com>
@pasha-codefresh
Copy link
Member

This package used in argocd as dependency, you beed also update it here

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.

2 participants