Skip to content

Commit c83076e

Browse files
authored
Merge pull request #1992 from Icarus9913/config-comments
📖 add comments for configuration
2 parents 15b6689 + 101a413 commit c83076e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/config/v1alpha1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ type ControllerMetrics struct {
109109
type ControllerHealth struct {
110110
// HealthProbeBindAddress is the TCP address that the controller should bind to
111111
// for serving health probes
112+
// It can be set to "0" or "" to disable serving the health probe.
112113
// +optional
113114
HealthProbeBindAddress string `json:"healthProbeBindAddress,omitempty"`
114115

pkg/manager/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ type Options struct {
219219

220220
// HealthProbeBindAddress is the TCP address that the controller should bind to
221221
// for serving health probes
222+
// It can be set to "0" or "" to disable serving the health probe.
222223
HealthProbeBindAddress string
223224

224225
// Readiness probe endpoint name, defaults to "readyz"

0 commit comments

Comments
 (0)