Skip to content

Commit

Permalink
feat(upstream) add new field for active HTTPS healtcheck
Browse files Browse the repository at this point in the history
Reference: Kong/kong#3815
  • Loading branch information
hbagdi committed Apr 7, 2019
1 parent de39ffe commit ee4e3a4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
13 changes: 8 additions & 5 deletions kong/upstream.go
Expand Up @@ -24,11 +24,14 @@ type Unhealthy struct {
// ActiveHealthcheck configures active health check probing.
// +k8s:deepcopy-gen=true
type ActiveHealthcheck struct {
Concurrency *int `json:"concurrency,omitempty" yaml:"concurrency,omitempty"`
Healthy *Healthy `json:"healthy,omitempty" yaml:"healthy,omitempty"`
HTTPPath *string `json:"http_path,omitempty" yaml:"http_path,omitempty"`
Timeout *int `json:"timeout,omitempty" yaml:"timeout,omitempty"`
Unhealthy *Unhealthy `json:"unhealthy,omitempty" yaml:"unhealthy,omitempty"`
Concurrency *int `json:"concurrency,omitempty" yaml:"concurrency,omitempty"`
Healthy *Healthy `json:"healthy,omitempty" yaml:"healthy,omitempty"`
HTTPPath *string `json:"http_path,omitempty" yaml:"http_path,omitempty"`
HTTPSSni *string `json:"https_sni" yaml:"https_sni"`
HTTPSVerifyCertificate *bool `json:"https_verify_certificate" yaml:"https_verify_certificate"`
Type *string `json:"type" yaml:"type"`
Timeout *int `json:"timeout,omitempty" yaml:"timeout,omitempty"`
Unhealthy *Unhealthy `json:"unhealthy,omitempty" yaml:"unhealthy,omitempty"`
}

// PassiveHealthcheck configures passive checks around
Expand Down
15 changes: 15 additions & 0 deletions kong/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ee4e3a4

Please sign in to comment.