Skip to content

Commit ceed1f8

Browse files
authored
operators flux (0.20.0)
1 parent d7b6d8e commit ceed1f8

26 files changed

+6927
-0
lines changed
Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.5.0
6+
creationTimestamp: null
7+
labels:
8+
app.kubernetes.io/instance: flux-system
9+
app.kubernetes.io/part-of: flux
10+
app.kubernetes.io/version: 0.20.0
11+
name: alerts.notification.toolkit.fluxcd.io
12+
spec:
13+
group: notification.toolkit.fluxcd.io
14+
names:
15+
kind: Alert
16+
listKind: AlertList
17+
plural: alerts
18+
singular: alert
19+
scope: Namespaced
20+
versions:
21+
- additionalPrinterColumns:
22+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
23+
name: Ready
24+
type: string
25+
- jsonPath: .status.conditions[?(@.type=="Ready")].message
26+
name: Status
27+
type: string
28+
- jsonPath: .metadata.creationTimestamp
29+
name: Age
30+
type: date
31+
name: v1beta1
32+
schema:
33+
openAPIV3Schema:
34+
description: Alert is the Schema for the alerts API
35+
properties:
36+
apiVersion:
37+
description: "APIVersion defines the versioned schema of this representation of
38+
an object. Servers should convert recognized schemas to the
39+
latest internal value, and may reject unrecognized values. More
40+
info:
41+
https://git.k8s.io/community/contributors/devel/sig-architectur\
42+
e/api-conventions.md#resources"
43+
type: string
44+
kind:
45+
description: "Kind is a string value representing the REST resource this object
46+
represents. Servers may infer this from the endpoint the client
47+
submits requests to. Cannot be updated. In CamelCase. More info:
48+
https://git.k8s.io/community/contributors/devel/sig-architectur\
49+
e/api-conventions.md#types-kinds"
50+
type: string
51+
metadata:
52+
type: object
53+
spec:
54+
description: AlertSpec defines an alerting rule for events involving a list of
55+
objects
56+
properties:
57+
eventSeverity:
58+
default: info
59+
description: Filter events based on severity, defaults to ('info'). If set to
60+
'info' no events will be filtered.
61+
enum:
62+
- info
63+
- error
64+
type: string
65+
eventSources:
66+
description: Filter events based on the involved objects.
67+
items:
68+
description: CrossNamespaceObjectReference contains enough information to let
69+
you locate the typed referenced object at cluster level
70+
properties:
71+
apiVersion:
72+
description: API version of the referent
73+
type: string
74+
kind:
75+
description: Kind of the referent
76+
enum:
77+
- Bucket
78+
- GitRepository
79+
- Kustomization
80+
- HelmRelease
81+
- HelmChart
82+
- HelmRepository
83+
- ImageRepository
84+
- ImagePolicy
85+
- ImageUpdateAutomation
86+
type: string
87+
name:
88+
description: Name of the referent
89+
maxLength: 53
90+
minLength: 1
91+
type: string
92+
namespace:
93+
description: Namespace of the referent
94+
maxLength: 53
95+
minLength: 1
96+
type: string
97+
required:
98+
- name
99+
type: object
100+
type: array
101+
exclusionList:
102+
description: A list of Golang regular expressions to be used for excluding
103+
messages.
104+
items:
105+
type: string
106+
type: array
107+
providerRef:
108+
description: Send events using this provider.
109+
properties:
110+
name:
111+
description: Name of the referent
112+
type: string
113+
required:
114+
- name
115+
type: object
116+
summary:
117+
description: Short description of the impact and affected cluster.
118+
type: string
119+
suspend:
120+
description: This flag tells the controller to suspend subsequent events
121+
dispatching. Defaults to false.
122+
type: boolean
123+
required:
124+
- eventSources
125+
- providerRef
126+
type: object
127+
status:
128+
default:
129+
observedGeneration: -1
130+
description: AlertStatus defines the observed state of Alert
131+
properties:
132+
conditions:
133+
items:
134+
description: >-
135+
Condition contains details for one aspect of the current
136+
state of this API Resource. --- This struct is intended
137+
for direct use as an array at the field path
138+
.status.conditions. For example, type FooStatus
139+
struct{ // Represents the observations of a foo's
140+
current state. // Known .status.conditions.type are:
141+
"Available", "Progressing", and "Degraded" //
142+
+patchMergeKey=type // +patchStrategy=merge //
143+
+listType=map // +listMapKey=type Conditions
144+
[]metav1.Condition `json:"conditions,omitempty"
145+
patchStrategy:"merge" patchMergeKey:"type"
146+
protobuf:"bytes,1,rep,name=conditions"`
147+
// other fields }
148+
properties:
149+
lastTransitionTime:
150+
description: lastTransitionTime is the last time the condition transitioned from
151+
one status to another. This should be when the
152+
underlying condition changed. If that is not known,
153+
then using the time when the API field changed is
154+
acceptable.
155+
format: date-time
156+
type: string
157+
message:
158+
description: message is a human readable message indicating details about the
159+
transition. This may be an empty string.
160+
maxLength: 32768
161+
type: string
162+
observedGeneration:
163+
description: observedGeneration represents the .metadata.generation that the
164+
condition was set based upon. For instance, if
165+
.metadata.generation is currently 12, but the
166+
.status.conditions[x].observedGeneration is 9, the
167+
condition is out of date with respect to the current
168+
state of the instance.
169+
format: int64
170+
minimum: 0
171+
type: integer
172+
reason:
173+
description: reason contains a programmatic identifier indicating the reason for
174+
the condition's last transition. Producers of specific
175+
condition types may define expected values and
176+
meanings for this field, and whether the values are
177+
considered a guaranteed API. The value should be a
178+
CamelCase string. This field may not be empty.
179+
maxLength: 1024
180+
minLength: 1
181+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
182+
type: string
183+
status:
184+
description: status of the condition, one of True, False, Unknown.
185+
enum:
186+
- "True"
187+
- "False"
188+
- Unknown
189+
type: string
190+
type:
191+
description: type of condition in CamelCase or in foo.example.com/CamelCase. ---
192+
Many .condition.type values are consistent across
193+
resources like Available, but because arbitrary
194+
conditions can be useful (see
195+
.node.status.conditions), the ability to deconflict is
196+
important. The regex it matches is
197+
(dns1123SubdomainFmt/)?(qualifiedNameFmt)
198+
maxLength: 316
199+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
200+
type: string
201+
required:
202+
- lastTransitionTime
203+
- message
204+
- reason
205+
- status
206+
- type
207+
type: object
208+
type: array
209+
observedGeneration:
210+
description: ObservedGeneration is the last observed generation.
211+
format: int64
212+
type: integer
213+
type: object
214+
type: object
215+
served: true
216+
storage: true
217+
subresources:
218+
status: {}
219+
status:
220+
acceptedNames:
221+
kind: ""
222+
plural: ""
223+
conditions: []
224+
storedVersions: []

0 commit comments

Comments
 (0)