Respect service.nativelb=false annotation when nativeLBByDefault is enabled
This commit is contained in:
parent
d674b393a8
commit
cdacf0bca8
18 changed files with 669 additions and 13 deletions
|
|
@ -16,7 +16,7 @@ type ServiceConfig struct {
|
|||
|
||||
// Service is the service's configuration from annotations.
|
||||
type Service struct {
|
||||
NativeLB bool `json:"nativeLB"`
|
||||
NativeLB *bool `json:"nativeLB"`
|
||||
}
|
||||
|
||||
func parseServiceAnnotations(annotations map[string]string) (ServiceConfig, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue