Skip to content

Commit 00dab36

Browse files
committed
feat: initial api implementation
Signed-off-by: Bence Csati <[email protected]>
1 parent bfdb928 commit 00dab36

File tree

8 files changed

+667
-0
lines changed

8 files changed

+667
-0
lines changed
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.3
7+
{{- with .Values.annotations }}
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
10+
name: axosyslogs.logging.banzaicloud.io
11+
spec:
12+
group: logging.banzaicloud.io
13+
names:
14+
categories:
15+
- logging-all
16+
kind: AxoSyslog
17+
listKind: AxoSyslogList
18+
plural: axosyslogs
19+
singular: axosyslog
20+
scope: Namespaced
21+
versions:
22+
- additionalPrinterColumns:
23+
- description: Control namespace
24+
jsonPath: .spec.controlNamespace
25+
name: ControlNamespace
26+
type: string
27+
- description: Number of problems
28+
jsonPath: .status.problemsCount
29+
name: Problems
30+
type: integer
31+
name: v1beta1
32+
schema:
33+
openAPIV3Schema:
34+
properties:
35+
apiVersion:
36+
type: string
37+
kind:
38+
type: string
39+
metadata:
40+
type: object
41+
spec:
42+
properties:
43+
controlNamespace:
44+
type: string
45+
x-kubernetes-validations:
46+
- message: Value is immutable, please recreate the resource
47+
rule: self == oldSelf
48+
destinations:
49+
items:
50+
type: string
51+
type: array
52+
logPaths:
53+
items:
54+
properties:
55+
destination:
56+
type: string
57+
filterx:
58+
type: string
59+
type: object
60+
type: array
61+
required:
62+
- controlNamespace
63+
type: object
64+
status:
65+
properties:
66+
problems:
67+
items:
68+
type: string
69+
type: array
70+
problemsCount:
71+
type: integer
72+
sources:
73+
items:
74+
properties:
75+
otlp:
76+
properties:
77+
endpoint:
78+
type: string
79+
type: object
80+
type: object
81+
type: array
82+
type: object
83+
type: object
84+
served: true
85+
storage: true
86+
subresources:
87+
status: {}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.3
7+
name: axosyslogs.logging.banzaicloud.io
8+
spec:
9+
group: logging.banzaicloud.io
10+
names:
11+
categories:
12+
- logging-all
13+
kind: AxoSyslog
14+
listKind: AxoSyslogList
15+
plural: axosyslogs
16+
singular: axosyslog
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- description: Control namespace
21+
jsonPath: .spec.controlNamespace
22+
name: ControlNamespace
23+
type: string
24+
- description: Number of problems
25+
jsonPath: .status.problemsCount
26+
name: Problems
27+
type: integer
28+
name: v1beta1
29+
schema:
30+
openAPIV3Schema:
31+
properties:
32+
apiVersion:
33+
type: string
34+
kind:
35+
type: string
36+
metadata:
37+
type: object
38+
spec:
39+
properties:
40+
controlNamespace:
41+
type: string
42+
x-kubernetes-validations:
43+
- message: Value is immutable, please recreate the resource
44+
rule: self == oldSelf
45+
destinations:
46+
items:
47+
type: string
48+
type: array
49+
logPaths:
50+
items:
51+
properties:
52+
destination:
53+
type: string
54+
filterx:
55+
type: string
56+
type: object
57+
type: array
58+
required:
59+
- controlNamespace
60+
type: object
61+
status:
62+
properties:
63+
problems:
64+
items:
65+
type: string
66+
type: array
67+
problemsCount:
68+
type: integer
69+
sources:
70+
items:
71+
properties:
72+
otlp:
73+
properties:
74+
endpoint:
75+
type: string
76+
type: object
77+
type: object
78+
type: array
79+
type: object
80+
type: object
81+
served: true
82+
storage: true
83+
subresources:
84+
status: {}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.3
7+
name: axosyslogs.logging.banzaicloud.io
8+
spec:
9+
group: logging.banzaicloud.io
10+
names:
11+
categories:
12+
- logging-all
13+
kind: AxoSyslog
14+
listKind: AxoSyslogList
15+
plural: axosyslogs
16+
singular: axosyslog
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- description: Control namespace
21+
jsonPath: .spec.controlNamespace
22+
name: ControlNamespace
23+
type: string
24+
- description: Number of problems
25+
jsonPath: .status.problemsCount
26+
name: Problems
27+
type: integer
28+
name: v1beta1
29+
schema:
30+
openAPIV3Schema:
31+
properties:
32+
apiVersion:
33+
type: string
34+
kind:
35+
type: string
36+
metadata:
37+
type: object
38+
spec:
39+
properties:
40+
controlNamespace:
41+
type: string
42+
x-kubernetes-validations:
43+
- message: Value is immutable, please recreate the resource
44+
rule: self == oldSelf
45+
destinations:
46+
items:
47+
type: string
48+
type: array
49+
logPaths:
50+
items:
51+
properties:
52+
destination:
53+
type: string
54+
filterx:
55+
type: string
56+
type: object
57+
type: array
58+
required:
59+
- controlNamespace
60+
type: object
61+
status:
62+
properties:
63+
problems:
64+
items:
65+
type: string
66+
type: array
67+
problemsCount:
68+
type: integer
69+
sources:
70+
items:
71+
properties:
72+
otlp:
73+
properties:
74+
endpoint:
75+
type: string
76+
type: object
77+
type: object
78+
type: array
79+
type: object
80+
type: object
81+
served: true
82+
storage: true
83+
subresources:
84+
status: {}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright © 2025 Kube logging authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
package controllers

docs/configuration/crds/v1beta1/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For more information please click on the name
1212
| **[](../extensions/v1alpha1/filetailer/)** | | extensions |
1313
| **[HostTailer](../extensions/v1alpha1/hosttailer_types/)** | HostTailer's main goal is to tail custom files and transmit their changes to stdout. This way the logging-operator is able to process them. | extensions |
1414
| **[](../extensions/v1alpha1/systemdtailer/)** | | extensions |
15+
| **[AxoSyslog](axosyslog_types/)** | | v1beta1 |
1516
| **[ClusterFlow](clusterflow_types/)** | ClusterFlow is the Schema for the clusterflows API | v1beta1 |
1617
| **[ClusterOutput](clusteroutput_types/)** | ClusterOutput is the Schema for the clusteroutputs API | v1beta1 |
1718
| **[Common](common_types/)** | ImageSpec Metrics Security | v1beta1 |

0 commit comments

Comments
 (0)