Skip to content

Commit

Permalink
Merge pull request #239 from wenchajun/crd
Browse files Browse the repository at this point in the history
Refining the crd of helm
  • Loading branch information
benjaminhuo authored Mar 17, 2022
2 parents 7675c0a + e3fe78f commit bbef08c
Show file tree
Hide file tree
Showing 5 changed files with 2,257 additions and 90 deletions.
77 changes: 76 additions & 1 deletion charts/fluentbit-operator/crds/logging.kubesphere.io_filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,45 @@ spec:
description: A set of filter plugins in order.
items:
properties:
aws:
description: Aws defines a Aws configuration.
properties:
accountID:
description: The account ID for current EC2 instance.Default
is false.
type: boolean
amiID:
description: The EC2 instance image id.Default is false.
type: boolean
az:
description: The availability zone; for example, "us-east-1a".
Default is true.
type: boolean
ec2InstanceID:
description: The EC2 instance ID.Default is true.
type: boolean
ec2InstanceType:
description: The EC2 instance type.Default is false.
type: boolean
hostName:
description: The hostname for current EC2 instance.Default
is false.
type: boolean
imdsVersion:
description: Specify which version of the instance metadata
service to use. Valid values are 'v1' or 'v2'.
enum:
- v1
- v2
type: string
privateIP:
description: The EC2 instance private ip.Default is false.
type: boolean
vpcID:
description: The VPC ID for current EC2 instance.Default
is false.
type: boolean
type: object
grep:
description: Grep defines Grep Filter configuration.
properties:
Expand Down Expand Up @@ -324,6 +363,24 @@ spec:
type: object
type: array
type: object
multiline:
description: Multiline defines a Multiline configuration.
properties:
keyContent:
description: Key name that holds the content to process.
Note that a Multiline Parser definition can already specify
the key_content to use, but this option allows to overwrite
that value for the purpose of the filter.
type: string
parser:
description: Specify one or multiple Multiline Parsing definitions
to apply to the content. You can specify multiple multiline
parsers to detect different formats by separating them
with a comma.
type: string
required:
- parser
type: object
nest:
description: Nest defines Nest Filter configuration.
properties:
Expand Down Expand Up @@ -397,6 +454,24 @@ spec:
type: string
type: array
type: object
rewriteTag:
description: RewriteTag defines a RewriteTag configuration.
properties:
emitterName:
description: When the filter emits a record under the new
Tag, there is an internal emitter plugin that takes care
of the job. Since this emitter expose metrics as any other
component of the pipeline, you can use this property to
configure an optional name for it.
type: string
rules:
description: 'Defines the matching criteria and the format
of the Tag for the matching record. The Rule format have
four components: KEY REGEX NEW_TAG KEEP.'
items:
type: string
type: array
type: object
throttle:
description: Throttle defines a Throttle configuration.
properties:
Expand Down Expand Up @@ -424,7 +499,7 @@ spec:
type: array
match:
description: A pattern to match against the tags of incoming records.
It's case sensitive and support the star (*) character as a wildcard.
It's case-sensitive and support the star (*) character as a wildcard.
type: string
matchRegex:
description: A regular expression to match against the tags of incoming
Expand Down
Loading

0 comments on commit bbef08c

Please sign in to comment.