Open loomts opened 1 month ago
@leon-inf can kb agent solve such problem ?
It seems to be an implementation issue about some actions, they should follow the same behavior as role probes for example.
It is good for supporting Action for uploading files, such as PostrgreSQL extension dynamic creation, and plugin creation for other databases.
@loomts The container field in Action has been supported by kb-agent, and the switchover action has been migrated to kb-agent too, you can try it again.
What is the user interaction of your feature Developer can customize volume mount during lifeCycleAction.
Is your feature request related to a problem? Please describe. etcd-addon need to check if tls enable in each lifeCycleAction, such as roleProbe and switchover, roleProbe action can attach target pod and use lorry container mount data and tls volumes, but switchover will startup a job pod which cannot mount exist volume right now.
Describe the solution you'd like Maybe we can adapt componentdefinition.yaml like this: