Skip to content

Commit

Permalink
Update pkg/controller/cluster/log-search.go
Browse files Browse the repository at this point in the history
Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
  • Loading branch information
krisis and donatello authored Dec 4, 2020
1 parent ccade36 commit bd5e528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/cluster/log-search.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func newAuditWebhookConfig(tenant *miniov1.Tenant, secret *corev1.Secret) auditW
whTarget := fmt.Sprintf("audit_webhook:%s", tenant.LogSearchAPIDeploymentName())

logIngestEndpoint := fmt.Sprintf("%s/%s?token=%s", services.GetLogSearchAPIAddr(tenant), "api/ingest", auditToken)
whArgs := fmt.Sprintf("%s auth_token=\"\" endpoint=\"%s\"", whTarget, logIngestEndpoint)
whArgs := fmt.Sprintf("%s endpoint=\"%s\"", whTarget, logIngestEndpoint)
return auditWebhookConfig{
target: whTarget,
args: whArgs,
Expand Down

0 comments on commit bd5e528

Please sign in to comment.