Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkg/apis/logging/v1/cluster_log_forwarder_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ type InputSpec struct {
// Application, if present, enables `application` logs.
//
// +optional
Application *Application `json:"application"`
Application *Application `json:"application,omitempty"`

// Infrastructure, if present, enables `infrastructure` logs.
//
// +optional
Infrastructure *Infrastructure `json:"infrastructure"`
Infrastructure *Infrastructure `json:"infrastructure,omitempty"`

// Audit, if present, enables `audit` logs.
//
// +optional
Audit *Audit `json:"audit"`
Audit *Audit `json:"audit,omitempty"`
}

type Application struct {
Expand Down Expand Up @@ -141,7 +141,7 @@ type OutputSpec struct {
//
// +kubebuilder:validation:Pattern:=`^$|[a-zA-z]+:\/\/.*`
// +optional
URL string `json:"url"`
URL string `json:"url,omitempty"`

OutputTypeSpec `json:",inline"`

Expand Down
Loading