Skip to content

Commit

Permalink
Merge pull request #1161 from joshuabaird/chore/sync-setup-yaml-280
Browse files Browse the repository at this point in the history
Updates setup manifests to be compatible with v2.8.0
  • Loading branch information
benjaminhuo authored May 7, 2024
2 parents 975fea6 + 4857d08 commit 19bd593
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/crd/bases/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ resources:
- fluentbit.fluent.io_fluentbits.yaml
- fluentbit.fluent.io_clusterinputs.yaml
- fluentbit.fluent.io_clusterfilters.yaml
- fluentbit.fluent.io_clustermultilineparsers.yaml
- fluentbit.fluent.io_clusteroutputs.yaml
- fluentbit.fluent.io_clusterparsers.yaml
- fluentbit.fluent.io_collectors.yaml
- fluentbit.fluent.io_fluentbitconfigs.yaml
- fluentbit.fluent.io_filters.yaml
- fluentbit.fluent.io_multilineparsers.yaml
- fluentbit.fluent.io_outputs.yaml
- fluentbit.fluent.io_parsers.yaml
- fluentd.fluent.io_fluentds.yaml
Expand Down Expand Up @@ -61,4 +63,4 @@ resources:

# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
- kustomizeconfig.yaml
- kustomizeconfig.yaml
7 changes: 6 additions & 1 deletion manifests/setup/fluent-operator-clusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,16 @@ rules:
- clusteroutputs
- clusteroutputs/finalizers
- clusterparsers
- clusterparsers/finalizers
- fluentbitconfigs
- fluentbitconfigs/finalizers
- multilineparsers
- multilineparsers/finalizers
- clustermultilineparsers
- clustermultilineparsers/finalizers
- filters
- outputs
- parsers
- clusterparsers/finalizers
verbs:
- create
- delete
Expand Down
164 changes: 164 additions & 0 deletions manifests/setup/fluent-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3543,6 +3543,88 @@ spec:
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
name: clustermultilineparsers.fluentbit.fluent.io
spec:
group: fluentbit.fluent.io
names:
kind: ClusterMultilineParser
listKind: ClusterMultilineParserList
plural: clustermultilineparsers
shortNames:
- cfbmp
singular: clustermultilineparser
scope: Cluster
versions:
- name: v1alpha2
schema:
openAPIV3Schema:
description: ClusterMultilineParser is the Schema for the cluster-level multiline
parser API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
flushTimeout:
default: 5000
description: Timeout in milliseconds to flush a non-terminated multiline
buffer. Default is set to 5 seconds.
type: integer
keyContent:
description: For an incoming structured message, specify the key that
contains the data that should be processed by the regular expression
and possibly concatenated.
type: string
parser:
description: Name of a pre-defined parser that must be applied to
the incoming content before applying the regex rule. If no parser
is defined, it's assumed that's a raw text and not a structured
message.
type: string
rules:
description: Configure a rule to match a multiline pattern. The rule
has a specific format described below. Multiple rules can be defined.
items:
properties:
next:
type: string
regex:
type: string
start:
type: string
required:
- next
- regex
- start
type: object
type: array
type:
default: regex
description: Set the multiline mode, for now, we support the type
regex.
enum:
- regex
type: string
type: object
type: object
served: true
storage: true
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
Expand Down Expand Up @@ -28101,6 +28183,88 @@ spec:
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
name: multilineparsers.fluentbit.fluent.io
spec:
group: fluentbit.fluent.io
names:
kind: MultilineParser
listKind: MultilineParserList
plural: multilineparsers
shortNames:
- fbmp
singular: multilineparser
scope: Namespaced
versions:
- name: v1alpha2
schema:
openAPIV3Schema:
description: MultilineParser is the Schema of namespace-level multiline parser
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
flushTimeout:
default: 5000
description: Timeout in milliseconds to flush a non-terminated multiline
buffer. Default is set to 5 seconds.
type: integer
keyContent:
description: For an incoming structured message, specify the key that
contains the data that should be processed by the regular expression
and possibly concatenated.
type: string
parser:
description: Name of a pre-defined parser that must be applied to
the incoming content before applying the regex rule. If no parser
is defined, it's assumed that's a raw text and not a structured
message.
type: string
rules:
description: Configure a rule to match a multiline pattern. The rule
has a specific format described below. Multiple rules can be defined.
items:
properties:
next:
type: string
regex:
type: string
start:
type: string
required:
- next
- regex
- start
type: object
type: array
type:
default: regex
description: Set the multiline mode, for now, we support the type
regex.
enum:
- regex
type: string
type: object
type: object
served: true
storage: true
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
Expand Down
Loading

0 comments on commit 19bd593

Please sign in to comment.