diff --git a/config/gateway/values.yaml b/config/gateway/values.yaml index 0210eb666..9ca7b68ae 100644 --- a/config/gateway/values.yaml +++ b/config/gateway/values.yaml @@ -22,4 +22,5 @@ service: ## for nginx controller, same with controller deployment: annotations: {} - replicas: 1 \ No newline at end of file + replicas: 1 + \ No newline at end of file diff --git a/pkg/apiserver/config/config.go b/pkg/apiserver/config/config.go index 5e0d0907e..833ecd51d 100644 --- a/pkg/apiserver/config/config.go +++ b/pkg/apiserver/config/config.go @@ -105,7 +105,7 @@ type Config struct { NotificationOptions *notification.Options `json:"notification,omitempty" yaml:"notification,omitempty" mapstructure:"notification"` KubeEdgeOptions *kubeedge.Options `json:"kubeedge,omitempty" yaml:"kubeedge,omitempty" mapstructure:"kubeedge"` MeteringOptions *metering.Options `json:"metering,omitempty" yaml:"metering,omitempty" mapstructure:"metering"` - GatewayOptions *gateway.Options `json:"gateway,omitempty" yaml:"router,omitempty" mapstructure:"router"` + GatewayOptions *gateway.Options `json:"gateway,omitempty" yaml:"gateway,omitempty" mapstructure:"gateway"` } // newConfig creates a default non-empty Config