* Refactor cosigned to take advantage of duck typing.
With this change, the webhook can take advantage of duck typing to parse all of the "Pod Specable" types currently supported.
This also takes advantage of the `knative.dev/pkg` webhook infrastructure to reduce boilerplate and eliminate the need for `cert-manager`.
Lastly, this starts to sketch out some cosigned e2e tests to verify that things work.
Signed-off-by: Matt Moore <mattomata@gmail.com>
* Make port configurable, pull tests out into a script.
Signed-off-by: Matt Moore <mattomata@gmail.com>
* Drop GO111MODULE, drop v1beta1 admission review, improve flag desc, hoist and comment webhook name as constant
Signed-off-by: Matt Moore <mattomata@gmail.com>