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
2 changes: 1 addition & 1 deletion apis/fluentbit/v1alpha2/clusterfluentbitconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type Service struct {
// enable Health check feature at http://127.0.0.1:2020/api/v1/health Note: Enabling this will not automatically configure kubernetes to use fluentbit's healthcheck endpoint
HealthCheck *bool `json:"healthCheck,omitempty"`
// Address to listen
// +kubebuilder:validation:Pattern:="^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$"
// +kubebuilder:validation:Pattern:="^(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$"
HttpListen string `json:"httpListen,omitempty"`
// Port to listen
// +kubebuilder:validation:Minimum:=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/fluentbit.fluent.io_fluentbitconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
4 changes: 2 additions & 2 deletions docs/best-practice/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Fluent Bit comes with a built-in HTTP Server. According to the official [documen
```conf
[SERVICE]
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Listen '::'
HTTP_PORT 2020
```

Expand All @@ -29,7 +29,7 @@ spec:
matchLabels:
fluentbit.fluent.io/enabled: 'true'
service:
httpListen: 0.0.0.0
httpListen: '::'
httpPort: 2020
httpServer: true
parsersFile: parsers.conf
Expand Down
4 changes: 2 additions & 2 deletions manifests/setup/fluent-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down Expand Up @@ -16685,7 +16685,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
4 changes: 2 additions & 2 deletions manifests/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down Expand Up @@ -16685,7 +16685,7 @@ spec:
type: boolean
httpListen:
description: Address to listen
pattern: ^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
pattern: ^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]*)$
type: string
httpPort:
description: Port to listen
Expand Down
Loading