Skip to content

Commit 8bbce6f

Browse files
add some more crds back
1 parent d6b04f0 commit 8bbce6f

9 files changed

+871
-1
lines changed

charts/plural-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: plural-operator
33
description: A Helm chart for deploying the v1 plural operator, which is primarily responsible for managing our oauth proxy injector admission controller.
44
type: application
5-
version: 0.1.1
5+
version: 0.1.2
66
appVersion: "1.16.0"
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: dashboards.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: Dashboard
12+
listKind: DashboardList
13+
plural: dashboards
14+
singular: dashboard
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: Dashboard is the Schema for the dashboards API
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: DashboardSpec defines the desired state of Dashboard
36+
properties:
37+
defaultTime:
38+
description: the starting time window for dashboard rendering
39+
type: string
40+
description:
41+
description: description for this dashboard
42+
type: string
43+
graphs:
44+
description: the graphs to render in the dashboard
45+
items:
46+
description: Specification for a single timeseries graph in a dashboard
47+
properties:
48+
format:
49+
description: specify how y values should be rendered. Can be
50+
any of [bytes, percent, none]
51+
enum:
52+
- bytes
53+
- percent
54+
- none
55+
type: string
56+
name:
57+
description: Name of this graph
58+
type: string
59+
queries:
60+
description: the queries rendered in this graph
61+
items:
62+
description: Specification for a graph query in a dashboard
63+
properties:
64+
legend:
65+
description: The legend name for this query
66+
type: string
67+
legendFormat:
68+
description: The format for the legend
69+
type: string
70+
query:
71+
description: the query to use
72+
type: string
73+
required:
74+
- query
75+
type: object
76+
type: array
77+
required:
78+
- name
79+
- queries
80+
type: object
81+
type: array
82+
labels:
83+
description: a list of labels to fetch for filtering dashboard results
84+
items:
85+
description: DashboardLabelSpec is a structure specifying labels
86+
to filter against in a dashboard these can be statically declared
87+
or lazily fetched against the backend metric source
88+
properties:
89+
name:
90+
description: label name
91+
type: string
92+
query:
93+
description: query to fetch the labels from
94+
properties:
95+
label:
96+
description: label name
97+
type: string
98+
query:
99+
description: the backend query to use
100+
type: string
101+
required:
102+
- label
103+
- query
104+
type: object
105+
values:
106+
description: statically specified values
107+
items:
108+
type: string
109+
type: array
110+
required:
111+
- name
112+
type: object
113+
type: array
114+
name:
115+
description: the name for this dashboard
116+
type: string
117+
timeslices:
118+
description: possible time windows for the dashboard to display
119+
items:
120+
type: string
121+
type: array
122+
required:
123+
- defaultTime
124+
- graphs
125+
- labels
126+
- timeslices
127+
type: object
128+
status:
129+
description: DashboardStatus defines the observed state of Dashboard
130+
type: object
131+
type: object
132+
served: true
133+
storage: true
134+
subresources:
135+
status: {}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: licenses.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: License
12+
listKind: LicenseList
13+
plural: licenses
14+
singular: license
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: License is the Schema for the licenses API
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: LicenseSpec defines the desired state of License
36+
properties:
37+
secretRef:
38+
description: the reference to a secret containing your license key
39+
properties:
40+
key:
41+
description: The key of the secret to select from. Must be a
42+
valid secret key.
43+
type: string
44+
name:
45+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
46+
TODO: Add other useful fields. apiVersion, kind, uid?'
47+
type: string
48+
optional:
49+
description: Specify whether the Secret or its key must be defined
50+
type: boolean
51+
required:
52+
- key
53+
type: object
54+
x-kubernetes-map-type: atomic
55+
required:
56+
- secretRef
57+
type: object
58+
status:
59+
description: LicenseStatus defines the observed state of License
60+
properties:
61+
policy:
62+
description: the policy this license adheres to
63+
properties:
64+
features:
65+
description: the features allowed for this plan
66+
items:
67+
description: LicenseFeature defines a feature allowed by this
68+
license
69+
properties:
70+
description:
71+
description: description of the feature
72+
type: string
73+
name:
74+
description: the name of the feature
75+
type: string
76+
required:
77+
- description
78+
- name
79+
type: object
80+
type: array
81+
free:
82+
description: whether this is on a free plan
83+
type: boolean
84+
limits:
85+
additionalProperties:
86+
format: int64
87+
type: integer
88+
description: limits attached to this plan
89+
type: object
90+
plan:
91+
description: the plan you're on
92+
type: string
93+
required:
94+
- free
95+
type: object
96+
secrets:
97+
additionalProperties:
98+
type: string
99+
description: additional secrets attached to this license
100+
type: object
101+
required:
102+
- policy
103+
type: object
104+
type: object
105+
served: true
106+
storage: true
107+
subresources:
108+
status: {}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: logfilters.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: LogFilter
12+
listKind: LogFilterList
13+
plural: logfilters
14+
singular: logfilter
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: LogFilter is the Schema for the logfilters API
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: LogFilterSpec defines the desired state of LogFilter
36+
properties:
37+
description:
38+
description: description for this logfilter
39+
type: string
40+
labels:
41+
description: labels to query against
42+
items:
43+
description: A label to filter logs against
44+
properties:
45+
name:
46+
description: name of the label
47+
type: string
48+
value:
49+
description: value of the label
50+
type: string
51+
required:
52+
- name
53+
- value
54+
type: object
55+
type: array
56+
name:
57+
description: name for this logfilter
58+
type: string
59+
query:
60+
description: loki query to use for the filter
61+
type: string
62+
required:
63+
- description
64+
- name
65+
type: object
66+
status:
67+
description: LogFilterStatus defines the observed state of LogFilter
68+
type: object
69+
type: object
70+
served: true
71+
storage: true
72+
subresources:
73+
status: {}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: logtails.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: LogTail
12+
listKind: LogTailList
13+
plural: logtails
14+
singular: logtail
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: LogTail is the Schema for the logtails API
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: LogTailSpec defines the desired state of LogTail
36+
properties:
37+
container:
38+
description: The specific container to tail
39+
type: string
40+
follow:
41+
description: whether to interactively follow the logs
42+
type: boolean
43+
limit:
44+
description: number of lines to tail
45+
format: int32
46+
type: integer
47+
target:
48+
description: the kubectl-type target to use for this log tail, eg
49+
deployment/name-of-my-deployment
50+
type: string
51+
required:
52+
- follow
53+
- limit
54+
- target
55+
type: object
56+
status:
57+
description: LogTailStatus defines the observed state of LogTail
58+
type: object
59+
type: object
60+
served: true
61+
storage: true
62+
subresources:
63+
status: {}

0 commit comments

Comments
 (0)