Open bronhaim opened 6 years ago
Current implementation uses hard-coded implementations in fence-scripts folder, in agent.go we define map entry for each agent script. This map should be loaded dynamically from specific path /usr/libexec/fence-agents/. all fence scripts should be copied to this dir for executor pod\job. when executor starts it loads all scripts and create agents map.
implement wrappers to run agents as scripts by executor job. the following are list of desired agents: