Skip to content

Commit d3ff53d

Browse files
mob-galtrynmarcofranssen
authored andcommitted
Manifests updated using make manifests and enum added
Signed-off-by: Nick Galtry <nick.galtry@mobilise.cloud>
1 parent a377919 commit d3ff53d

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
@@ -2506,6 +2506,13 @@ spec:
25062506
kubeURL:
25072507
description: API Server end-point
25082508
type: string
2509+
storageType:
2510+
description: Specifies the buffering mechanism for use with the
2511+
input plugin, requires storage.path to be set in the service.
2512+
enum:
2513+
- filesystem
2514+
- memory
2515+
type: string
25092516
tag:
25102517
description: Tag name associated to all records coming from this
25112518
plugin.
@@ -2521,13 +2528,6 @@ spec:
25212528
tlsVhost:
25222529
description: Set optional TLS virtual host.
25232530
type: string
2524-
storageType:
2525-
description: Specify the buffering mechanism to use. It can be
2526-
memory or filesystem
2527-
enum:
2528-
- filesystem
2529-
- memory
2530-
type: string
25312531
type: object
25322532
logLevel:
25332533
enum:

manifests/setup/setup.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,6 +2506,13 @@ spec:
25062506
kubeURL:
25072507
description: API Server end-point
25082508
type: string
2509+
storageType:
2510+
description: Specifies the buffering mechanism for use with the
2511+
input plugin, requires storage.path to be set in the service.
2512+
enum:
2513+
- filesystem
2514+
- memory
2515+
type: string
25092516
tag:
25102517
description: Tag name associated to all records coming from this
25112518
plugin.
@@ -2521,13 +2528,6 @@ spec:
25212528
tlsVhost:
25222529
description: Set optional TLS virtual host.
25232530
type: string
2524-
storageType:
2525-
description: Specify the buffering mechanism to use. It can be
2526-
memory or filesystem
2527-
enum:
2528-
- filesystem
2529-
- memory
2530-
type: string
25312531
type: object
25322532
logLevel:
25332533
enum:

0 commit comments

Comments
 (0)