remove the unused EnableFederation field
This commit is contained in:
@@ -32,8 +32,7 @@ const (
|
|||||||
type Options struct {
|
type Options struct {
|
||||||
// Enable
|
// Enable
|
||||||
// Deprecated: this field will be removed in the future version, use ClusterRole instead.
|
// Deprecated: this field will be removed in the future version, use ClusterRole instead.
|
||||||
Enable bool `json:"enable" yaml:"enable"`
|
Enable bool `json:"enable" yaml:"enable"`
|
||||||
EnableFederation bool `json:"enableFederation,omitempty" yaml:"enableFederation,omitempty"`
|
|
||||||
|
|
||||||
// ProxyPublishService is the service name of multicluster component tower.
|
// ProxyPublishService is the service name of multicluster component tower.
|
||||||
// If this field provided, apiserver going to use the ingress.ip of this service.
|
// If this field provided, apiserver going to use the ingress.ip of this service.
|
||||||
@@ -68,7 +67,6 @@ type Options struct {
|
|||||||
func NewOptions() *Options {
|
func NewOptions() *Options {
|
||||||
return &Options{
|
return &Options{
|
||||||
Enable: false,
|
Enable: false,
|
||||||
EnableFederation: false,
|
|
||||||
ProxyPublishAddress: "",
|
ProxyPublishAddress: "",
|
||||||
ProxyPublishService: "",
|
ProxyPublishService: "",
|
||||||
AgentImage: "kubesphere/tower:v1.0",
|
AgentImage: "kubesphere/tower:v1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user