mirror of
https://github.com/rancher/types.git
synced 2025-04-27 18:25:05 +00:00
Merge pull request #1142 from cbron/istio-dest-rule-lb-nullable
Istios UseSourceIP must be nullable or it fails LBs validation
This commit is contained in:
commit
048e08ca75
@ -1115,6 +1115,9 @@ func istioTypes(schemas *types.Schemas) *types.Schemas {
|
||||
MustImport(&Version, istiov1alpha3.VirtualService{}, projectOverride{}, struct {
|
||||
Status interface{}
|
||||
}{}).
|
||||
MustImport(&Version, istiov1alpha3.ConsistentHashLB{}, struct {
|
||||
UseSourceIP *bool `json:"useSourceIp,omitempty"`
|
||||
}{}).
|
||||
MustImport(&Version, istiov1alpha3.DestinationRule{}, projectOverride{}, struct {
|
||||
Status interface{}
|
||||
}{}).
|
||||
|
@ -12,5 +12,5 @@ type ConsistentHashLB struct {
|
||||
HTTPCookie *HTTPCookie `json:"httpCookie,omitempty" yaml:"httpCookie,omitempty"`
|
||||
HTTPHeaderName string `json:"httpHeaderName,omitempty" yaml:"httpHeaderName,omitempty"`
|
||||
MinimumRingSize int64 `json:"minimumRingSize,omitempty" yaml:"minimumRingSize,omitempty"`
|
||||
UseSourceIP bool `json:"useSourceIp,omitempty" yaml:"useSourceIp,omitempty"`
|
||||
UseSourceIP *bool `json:"useSourceIp,omitempty" yaml:"useSourceIp,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user