You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// [Fluent Bit Parsers](https://docs.fluentbit.io/manual/pipeline/parsers). The parser specified here has no effect until it is referenced by a [Pod annotation](https://docs.fluentbit.io/manual/pipeline/filters/kubernetes#kubernetes-annotations) on your workload or by a [Parser Filter](https://docs.fluentbit.io/manual/pipeline/filters/parser) defined in a pipeline's filters section.
// +kubebuilder:deprecatedversion:warning="The LogParser API is deprecated. Instead, log in JSON format and use the JSON parsing feature of the LogPipeline"
38
-
39
42
// LogParser is the Schema for the logparsers API.
40
43
typeLogParserstruct {
41
44
metav1.TypeMeta`json:",inline"`
@@ -46,22 +49,17 @@ type LogParser struct {
46
49
StatusLogParserStatus`json:"status,omitempty"`
47
50
}
48
51
49
-
// +kubebuilder:object:root=true
52
+
// LogParserSpec defines the desired state of LogParser.
53
+
typeLogParserSpecstruct {
54
+
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
55
+
// Important: Run "make" to regenerate code after modifying this file
50
56
51
-
// LogParserList contains a list of LogParser.
52
-
typeLogParserListstruct {
53
-
metav1.TypeMeta`json:",inline"`
54
-
metav1.ListMeta`json:"metadata,omitempty"`
55
-
Items []LogParser`json:"items"`
57
+
// [Fluent Bit Parsers](https://docs.fluentbit.io/manual/pipeline/parsers). The parser specified here has no effect until it is referenced by a [Pod annotation](https://docs.fluentbit.io/manual/pipeline/filters/kubernetes#kubernetes-annotations) on your workload or by a [Parser Filter](https://docs.fluentbit.io/manual/pipeline/filters/parser) defined in a pipeline's filters section.
58
+
Parserstring`json:"parser,omitempty"`
56
59
}
57
60
58
61
// LogParserStatus shows the observed state of the LogParser.
59
62
typeLogParserStatusstruct {
60
63
// An array of conditions describing the status of the parser.
0 commit comments