mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(docker): add docker desktop extension flag in settings and add migration EE-5277 (#8948)
This commit is contained in:
parent
e156243e43
commit
83551201fb
7 changed files with 55 additions and 3 deletions
|
@ -49,6 +49,8 @@ type publicSettingsResponse struct {
|
|||
// The check in interval for edge agent (in seconds) - used in non async mode [seconds]
|
||||
CheckinInterval int `example:"60"`
|
||||
}
|
||||
|
||||
IsDockerDesktopExtention bool `json:"IsDockerDesktopExtention" example:"false"`
|
||||
}
|
||||
|
||||
// @id SettingsPublic
|
||||
|
@ -89,6 +91,8 @@ func generatePublicSettings(appSettings *portainer.Settings) *publicSettingsResp
|
|||
publicSettings.Edge.CommandInterval = appSettings.Edge.CommandInterval
|
||||
publicSettings.Edge.CheckinInterval = appSettings.EdgeAgentCheckinInterval
|
||||
|
||||
publicSettings.IsDockerDesktopExtention = appSettings.IsDockerDesktopExtention
|
||||
|
||||
//if OAuth authentication is on, compose the related fields from application settings
|
||||
if publicSettings.AuthenticationMethod == portainer.AuthenticationOAuth {
|
||||
publicSettings.OAuthLogoutURI = appSettings.OAuthSettings.LogoutURI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue