add comment explaining port 0 behavior
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
parent
b19d11d267
commit
db1fcdabb1
@ -26,10 +26,12 @@ type WebhookConfiguration struct {
|
||||
metav1.TypeMeta
|
||||
|
||||
// securePort is the port number to listen on for secure TLS connections from the kube-apiserver.
|
||||
// If 0, a random available port will be chosen.
|
||||
// Defaults to 6443.
|
||||
SecurePort int32
|
||||
|
||||
// healthzPort is the port number to listen on (using plaintext HTTP) for healthz connections.
|
||||
// If 0, a random available port will be chosen.
|
||||
// Defaults to 6080.
|
||||
HealthzPort int32
|
||||
|
||||
|
||||
@ -26,10 +26,12 @@ type WebhookConfiguration struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
// securePort is the port number to listen on for secure TLS connections from the kube-apiserver.
|
||||
// If 0, a random available port will be chosen.
|
||||
// Defaults to 6443.
|
||||
SecurePort *int32 `json:"securePort,omitempty"`
|
||||
|
||||
// healthzPort is the port number to listen on (using plaintext HTTP) for healthz connections.
|
||||
// If 0, a random available port will be chosen.
|
||||
// Defaults to 6080.
|
||||
HealthzPort *int32 `json:"healthzPort,omitempty"`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user