cmd/test-webhook: first draft of webhook

The webhook still needs to be updated to auto generate its
certificates.

We decided not to give this webhook its own go module for now since
this webhook only pulled in one more dependency, and it is a
dependency that we will most likely need in the future.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Ryan Richard
2020-09-09 15:27:30 -04:00
committed by Andrew Keesler
parent 20b21e8639
commit 3ee7a0d881
3 changed files with 762 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ require (
github.com/stretchr/testify v1.6.1
github.com/suzerain-io/pinniped/generated/1.19/apis v0.0.0-00010101000000-000000000000
github.com/suzerain-io/pinniped/generated/1.19/client v0.0.0-00010101000000-000000000000
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
k8s.io/api v0.19.0
k8s.io/apimachinery v0.19.0
k8s.io/apiserver v0.19.0