File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,8 @@ type Options struct {
170
170
171
171
// CertDir is the directory that contains the server key and certificate.
172
172
// if not set, webhook server would look up the server key and certificate in
173
- // {TempDir}/k8s-webhook-server/serving-certs
173
+ // {TempDir}/k8s-webhook-server/serving-certs. The server key and certificate
174
+ // must be named tls.key and tls.crt, respectively.
174
175
CertDir string
175
176
// Functions to all for a user to customize the values that will be injected.
176
177
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ type Server struct {
52
52
// It will be defaulted to 443 if unspecified.
53
53
Port int
54
54
55
- // CertDir is the directory that contains the server key and certificate.
55
+ // CertDir is the directory that contains the server key and certificate. The
56
+ // server key and certificate must be named tls.key and tls.crt,
57
+ // respectively.
56
58
CertDir string
57
59
58
60
// WebhookMux is the multiplexer that handles different webhooks.
You can’t perform that action at this time.
0 commit comments