mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	增加默认集群DNS设置
This commit is contained in:
		@@ -10,3 +10,10 @@ type ClusterDNSConfig struct {
 | 
				
			|||||||
	NodesAutoSync   bool `yaml:"nodesAutoSync" json:"nodesAutoSync"`     // 是否自动同步节点状态
 | 
						NodesAutoSync   bool `yaml:"nodesAutoSync" json:"nodesAutoSync"`     // 是否自动同步节点状态
 | 
				
			||||||
	ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
 | 
						ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func DefaultClusterDNSConfig() *ClusterDNSConfig {
 | 
				
			||||||
 | 
						return &ClusterDNSConfig{
 | 
				
			||||||
 | 
							CNAMEAsDomain:    true,
 | 
				
			||||||
 | 
							IncludingLnNodes: true,
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user