Skip to content

Commit e71072f

Browse files
committed
Manifests updated using make manifests and enum added
Signed-off-by: Nick Galtry <nick.galtry@mobilise.cloud>
1 parent 9758552 commit e71072f

File tree

5 files changed

+29
-25
lines changed

5 files changed

+29
-25
lines changed

apis/fluentbit/v1alpha2/plugins/input/kubernetes_events_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type KubernetesEvents struct {
4444
// Set optional TLS virtual host.
4545
TLSVhost string `json:"tlsVhost,omitempty"`
4646
// Specifies the buffering mechanism for use with the input plugin, requires storage.path to be set in the service.
47-
// Accepted values: memory or filesystem
47+
// +kubebuilder:validation:Enum:=filesystem;memory
4848
StorageType string `json:"storageType,omitempty"`
4949
}
5050

charts/fluent-bit-crds/templates/fluentbit.fluent.io_clusterinputs.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,13 @@ spec:
355355
kubeURL:
356356
description: API Server end-point
357357
type: string
358+
storageType:
359+
description: Specifies the buffering mechanism for use with the
360+
input plugin, requires storage.path to be set in the service.
361+
enum:
362+
- filesystem
363+
- memory
364+
type: string
358365
tag:
359366
description: Tag name associated to all records coming from this
360367
plugin.
@@ -370,9 +377,6 @@ spec:
370377
tlsVhost:
371378
description: Set optional TLS virtual host.
372379
type: string
373-
storageType:
374-
description: Set buffering method to filesystem or memory
375-
type: string
376380
type: object
377381
logLevel:
378382
enum:

config/crd/bases/fluentbit.fluent.io_clusterinputs.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,13 @@ spec:
352352
kubeURL:
353353
description: API Server end-point
354354
type: string
355+
storageType:
356+
description: Specifies the buffering mechanism for use with the
357+
input plugin, requires storage.path to be set in the service.
358+
enum:
359+
- filesystem
360+
- memory
361+
type: string
355362
tag:
356363
description: Tag name associated to all records coming from this
357364
plugin.
@@ -367,13 +374,6 @@ spec:
367374
tlsVhost:
368375
description: Set optional TLS virtual host.
369376
type: string
370-
storageType:
371-
description: Specify the buffering mechanism to use. It can be
372-
memory or filesystem
373-
enum:
374-
- filesystem
375-
- memory
376-
type: string
377377
type: object
378378
logLevel:
379379
enum:

manifests/setup/fluent-operator-crd.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,13 @@ spec:
24942494
kubeURL:
24952495
description: API Server end-point
24962496
type: string
2497+
storageType:
2498+
description: Specifies the buffering mechanism for use with the
2499+
input plugin, requires storage.path to be set in the service.
2500+
enum:
2501+
- filesystem
2502+
- memory
2503+
type: string
24972504
tag:
24982505
description: Tag name associated to all records coming from this
24992506
plugin.
@@ -2509,13 +2516,6 @@ spec:
25092516
tlsVhost:
25102517
description: Set optional TLS virtual host.
25112518
type: string
2512-
storageType:
2513-
description: Specify the buffering mechanism to use. It can be
2514-
memory or filesystem
2515-
enum:
2516-
- filesystem
2517-
- memory
2518-
type: string
25192519
type: object
25202520
logLevel:
25212521
enum:

manifests/setup/setup.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,13 @@ spec:
24942494
kubeURL:
24952495
description: API Server end-point
24962496
type: string
2497+
storageType:
2498+
description: Specifies the buffering mechanism for use with the
2499+
input plugin, requires storage.path to be set in the service.
2500+
enum:
2501+
- filesystem
2502+
- memory
2503+
type: string
24972504
tag:
24982505
description: Tag name associated to all records coming from this
24992506
plugin.
@@ -2509,13 +2516,6 @@ spec:
25092516
tlsVhost:
25102517
description: Set optional TLS virtual host.
25112518
type: string
2512-
storageType:
2513-
description: Specify the buffering mechanism to use. It can be
2514-
memory or filesystem
2515-
enum:
2516-
- filesystem
2517-
- memory
2518-
type: string
25192519
type: object
25202520
logLevel:
25212521
enum:

0 commit comments

Comments
 (0)