Skip to content

Commit eed21a6

Browse files
author
Mengqi Yu
committed
restructure certwriter and certprovisioner packages
1 parent b93e621 commit eed21a6

23 files changed

+1211
-1512
lines changed

example/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ func main() {
103103
as, err := webhook.NewServer("foo-admission-server", mgr, webhook.ServerOptions{
104104
Port: 443,
105105
CertDir: "/tmp/cert",
106-
//Client: mgr.GetClient(),
107-
KVMap: map[string]interface{}{"foo": "bar"},
106+
KVMap: map[string]interface{}{"foo": "bar"},
108107
BootstrapOptions: &webhook.BootstrapOptions{
109108
Secret: &apitypes.NamespacedName{
110109
Namespace: "default",

0 commit comments

Comments
 (0)