diff --git a/pkg/proxyagent/agent/agent.go b/pkg/proxyagent/agent/agent.go index 29cd9a88..4f85c909 100644 --- a/pkg/proxyagent/agent/agent.go +++ b/pkg/proxyagent/agent/agent.go @@ -54,7 +54,6 @@ func NewAgentAddon( v1CSRSupported bool, runtimeClient client.Client, nativeClient kubernetes.Interface, - agentInstallAll bool, enableKubeApiProxy bool, addonClient addonclient.Interface) (agent.AgentAddon, error) { caCertData, caKeyData, err := signer.CA().Config.GetPEMBytes() @@ -147,10 +146,6 @@ func NewAgentAddon( ), ) - if agentInstallAll { - agentFactory.WithInstallStrategy(agent.InstallAllStrategy(config.AddonInstallNamespace)) - } - return agentFactory.BuildHelmAgentAddon() }