mirror of
https://github.com/gravitl/netmaker.git
synced 2025-12-24 13:28:22 +08:00
NM-159: Add Gws HA and device approvals to feature flags (#3722)
* force update host dns field if node is acting as inet gw * add old acl support checks * move auto relay migration to pro pkg * add check to avoid unsetting relayed node * simplify auto assign gw logic * send auto assign update on un relay * set checking time to latest on updates * fix HA auto Relay logic * add relay node metrics to peer signal * move auto relay peer check * publish host peer update * check and unset unrelayed auto peers * use relay node mutex to avoid rac condition * reset autorelayed peers on auto assign gw * add device approval, gws HA to feature flags
This commit is contained in:
@@ -22,6 +22,8 @@ type FeatureFlags struct {
|
||||
EnableOAuth bool `json:"enable_oauth"`
|
||||
EnableIDPIntegration bool `json:"enable_idp_integration"`
|
||||
AllowMultiServerLicense bool `json:"allow_multi_server_license"`
|
||||
EnableGwsHA bool `json:"enable_gws_ha"`
|
||||
EnableDeviceApproval bool `json:"enable_device_approval"`
|
||||
}
|
||||
|
||||
// AuthParams - struct for auth params
|
||||
|
||||
Reference in New Issue
Block a user