Skip to content

Commit

Permalink
Add extra arguments to merlin logger
Browse files Browse the repository at this point in the history
  • Loading branch information
shydefoo committed Dec 5, 2024
1 parent 0877a4f commit 5ab64ef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/cmd/inference-logger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ var (
namespace = flag.String("namespace", "my-project", "The namespace to add as header to log events")

// These flags are not needed by our logger but provided by Kserve, hence we need to parse it to avoid error.
sourceUri = flag.String("source-uri", "", "The source URI to use when publishing cloudevents")
endpoint = flag.String("endpoint", "", "The endpoint name to add as header to log events")
component = flag.String("component", "", "The component name (predictor, explainer, transformer) to add as header to log events")
sourceUri = flag.String("source-uri", "", "The source URI to use when publishing cloudevents")
endpoint = flag.String("endpoint", "", "The endpoint name to add as header to log events")
component = flag.String("component", "", "The component name (predictor, explainer, transformer) to add as header to log events")
CaCertFile = flag.String("logger-ca-cert-file", "service-ca.crt", "The logger CA certificate file")
TlsSkipVerify = flag.Bool("logger-tls-skip-verify", false, "Skip verification of TLS certificate")
)

const (
Expand Down

0 comments on commit 5ab64ef

Please sign in to comment.