Skip to content

Commit

Permalink
Merge pull request #1992 from Icarus9913/config-comments
Browse files Browse the repository at this point in the history
馃摉 add comments for configuration
  • Loading branch information
k8s-ci-robot committed Sep 7, 2022
2 parents 15b6689 + 101a413 commit c83076e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/v1alpha1/types.go
Expand Up @@ -109,6 +109,7 @@ type ControllerMetrics struct {
type ControllerHealth struct {
// HealthProbeBindAddress is the TCP address that the controller should bind to
// for serving health probes
// It can be set to "0" or "" to disable serving the health probe.
// +optional
HealthProbeBindAddress string `json:"healthProbeBindAddress,omitempty"`

Expand Down
1 change: 1 addition & 0 deletions pkg/manager/manager.go
Expand Up @@ -219,6 +219,7 @@ type Options struct {

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

// Readiness probe endpoint name, defaults to "readyz"
Expand Down

0 comments on commit c83076e

Please sign in to comment.