caprover-cli icon indicating copy to clipboard operation
caprover-cli copied to clipboard

updateConfigAndSave missing some methods

Open khromov opened this issue 1 year ago • 0 comments

👋 I'm making a CapRover migration script (moving an app from one server to another) and I need to be able to replicate the configuration between two apps. I am using the ApiManager class and have found that ApiManager.updateConfigAndSave() is missing several variables:

containerHttpPort
redirectDomain
serviceUpdateOverride
websocketSupport

The most important ones for me are containerHttpPort and websocketSupport but ideally all possible params should be added.

There are also some that I'm not sure are perhaps internal variables (can't see them in the console) but they are being sent from the web control panel when saving an app:

appDeployTokenConfig
captainDefinitionRelativeFilePath

khromov avatar Apr 18 '24 22:04 khromov