// GetAgentAddonOptions returns the options of submariner-addon agent.
GetAgentAddonOptions returns the options of submariner-addon agent.
// GetAgentAddonOptions returns the options of submariner - addon agent .
func (a *addOnAgent) GetAgentAddonOptions() agent.AgentAddonOptions {
	return agent.AgentAddonOptions{
		AddonName: helpers.SubmarinerAddOnName,
		Registration: &agent.RegistrationOption{
			CSRConfigurations: agent.KubeClientSignerConfigurations(helpers.SubmarinerAddOnName, agentName),
			CSRApproveCheck:   a.csrApproveCheck,
			PermissionConfig:  a.permissionConfig,
		},
	}
}
func ( a * addOnAgent ) GetAgentAddonOptions ( ) agent . AgentAddonOptions { return agent . AgentAddonOptions { AddonName : helpers . SubmarinerAddOnName , Registration : & agent . RegistrationOption { CSRConfigurations : agent . KubeClientSignerConfigurations ( helpers . SubmarinerAddOnName , agentName ) , CSRApproveCheck : a . csrApproveCheck , PermissionConfig : a . permissionConfig , } , } }
GetAgentAddonOptions returns the options of submariner-addon agent.
GetAgentAddonOptions returns the options of submariner - addon agent .