podman-desktop/kind
Charlie Drage afcc91effc
feat: add ability to add insecure registry / skipping cert verify (#2896)
* draft: add ability to add insecure registry / skipping cert verify

### What does this PR do?

Adds the ability to prompt the user that the certificate is unverifiable
but they can add it / skip the verification process if they wish.

### Screenshot/screencast of this PR

<!-- Please include a screenshot or a screencast explaining what is doing this PR -->

### What issues does this PR fix or reference?

<!-- Please include any related issue from Podman Desktop repository (or from another issue tracker).
-->

### How to test this PR?

<!-- Please explain steps to reproduce -->

1. Add a test registry (registry.k8s.land) which has a self-signed
certificate
2. Podman Desktop should prompt that it is unverifiable / cert does not
   work
3. PD should succesfully add the registry

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* renaming and refactor getOptions

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-06-23 16:06:08 +00:00

0 lines
Text
Executable file