Skip to content
Open
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: 5 additions & 3 deletions api/v1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ type LogCollection struct {
// +kubebuilder:default:={"requests":{"cpu":"100m","memory":"200Mi"},"limits":{"cpu":"200m","memory":"500Mi"}}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// +kubebuilder:default:={errorLogs: true, accessLogs: true, requestLogs: true, crashLogs: true, auditLogs: true}
Files LogFilesConfig `json:"files,omitempty"`
// +kubebuilder:default:="[OUTPUT]\n name loki\n match *\n host loki.default.svc.cluster.local\n port 3100\n labels job=fluent-bit\n http_user admin\n http_passwd admin"
Outputs string `json:"outputs,omitempty"`
Files LogFilesConfig `json:"files,omitempty"`
Outputs string `json:"outputs,omitempty"`
Filters string `json:"filters,omitempty"`
Inputs string `json:"inputs,omitempty"`
Parsers string `json:"parsers,omitempty"`
}

type LogFilesConfig struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4735,6 +4735,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -4756,16 +4758,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down Expand Up @@ -8284,6 +8281,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -8305,16 +8304,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3487,6 +3487,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -3508,16 +3510,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down
30 changes: 12 additions & 18 deletions config/crd/bases/marklogic.progress.com_marklogicclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4744,6 +4744,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -4765,16 +4767,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down Expand Up @@ -8306,6 +8303,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -8327,16 +8326,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down
15 changes: 6 additions & 9 deletions config/crd/bases/marklogic.progress.com_marklogicgroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3494,6 +3494,8 @@ spec:
requestLogs:
type: boolean
type: object
filters:
type: string
image:
default: fluent/fluent-bit:4.1.1
type: string
Expand All @@ -3515,16 +3517,11 @@ spec:
type: object
x-kubernetes-map-type: atomic
type: array
inputs:
type: string
outputs:
default: |-
[OUTPUT]
name loki
match *
host loki.default.svc.cluster.local
port 3100
labels job=fluent-bit
http_user admin
http_passwd admin
type: string
parsers:
type: string
resources:
default:
Expand Down
Loading