Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Griffin <[email protected]>
  • Loading branch information
prakrit55 committed Feb 22, 2024
1 parent 1bcd7f8 commit ef7d6bf
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,14 @@ var ipsecTunnelUsages = sets.New[string](
var _ approver = (*ipsecCSRApprover)(nil)

func getAntreaAgentServiceAccount() string {
agentServiceAccountName := strings.Join([]string{
return strings.Join([]string{
"system", "serviceaccount", env.GetAntreaNamespace(), "antrea-agent",
}, ":")

return agentServiceAccountName
}

func newIPsecCSRApprover(client clientset.Interface) *ipsecCSRApprover {
return &ipsecCSRApprover{
client: client,
client: client,
antreaAgentServiceAccountName: getAntreaAgentServiceAccount(),
}
}
Expand Down

0 comments on commit ef7d6bf

Please sign in to comment.