Skip to content

Commit

Permalink
Support install namespace and remove installAll
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <[email protected]>
  • Loading branch information
qiujian16 committed May 15, 2024
1 parent c049a71 commit b76b09c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/proxyagent/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -147,10 +146,6 @@ func NewAgentAddon(
),
)

if agentInstallAll {
agentFactory.WithInstallStrategy(agent.InstallAllStrategy(config.AddonInstallNamespace))
}

return agentFactory.BuildHelmAgentAddon()
}

Expand Down

0 comments on commit b76b09c

Please sign in to comment.