Skip to content

Commit 4ed3deb

Browse files
committed
operator nexus-operator (3.4.0)
Signed-off-by: Sergiy Kulanov <[email protected]>
1 parent f4cd623 commit 4ed3deb

13 files changed

+6057
-0
lines changed
Lines changed: 333 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,333 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.1
6+
creationTimestamp: null
7+
name: nexusblobstores.edp.epam.com
8+
spec:
9+
group: edp.epam.com
10+
names:
11+
kind: NexusBlobStore
12+
listKind: NexusBlobStoreList
13+
plural: nexusblobstores
14+
singular: nexusblobstore
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- description: Status of the blob store
19+
jsonPath: .status.value
20+
name: Status
21+
type: string
22+
name: v1alpha1
23+
schema:
24+
openAPIV3Schema:
25+
description: NexusBlobStore is the Schema for the nexusblobstores API.
26+
properties:
27+
apiVersion:
28+
description: |-
29+
APIVersion defines the versioned schema of this representation of an object.
30+
Servers should convert recognized schemas to the latest internal value, and
31+
may reject unrecognized values.
32+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33+
type: string
34+
kind:
35+
description: |-
36+
Kind is a string value representing the REST resource this object represents.
37+
Servers may infer this from the endpoint the client submits requests to.
38+
Cannot be updated.
39+
In CamelCase.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41+
type: string
42+
metadata:
43+
type: object
44+
spec:
45+
description: NexusBlobStoreSpec defines the desired state of NexusBlobStore.
46+
properties:
47+
file:
48+
description: File type blobstore.
49+
properties:
50+
path:
51+
description: |-
52+
The path to the blobstore contents.
53+
This can be an absolute path to anywhere on the system Nexus Repository Manager has access to it or can be a path relative to the sonatype-work directory.
54+
type: string
55+
required:
56+
- path
57+
type: object
58+
name:
59+
description: |-
60+
Name of the BlobStore.
61+
Name should be unique across all BlobStores.
62+
type: string
63+
x-kubernetes-validations:
64+
- message: Value is immutable
65+
rule: self == oldSelf
66+
nexusRef:
67+
description: NexusRef is a reference to Nexus custom resource.
68+
properties:
69+
kind:
70+
default: Nexus
71+
description: Kind specifies the kind of the Nexus resource.
72+
type: string
73+
name:
74+
description: Name specifies the name of the Nexus resource.
75+
type: string
76+
required:
77+
- name
78+
type: object
79+
s3:
80+
description: S3 type blobstore.
81+
properties:
82+
advancedBucketConnection:
83+
description: A custom endpoint URL, signer type and whether path
84+
style access is enabled.
85+
properties:
86+
endpoint:
87+
description: A custom endpoint URL for third party object
88+
stores using the S3 API.
89+
type: string
90+
forcePathStyle:
91+
default: false
92+
description: Setting this flag will result in path-style access
93+
being used for all requests.
94+
type: boolean
95+
maxConnectionPoolSize:
96+
description: Setting this value will override the default
97+
connection pool size of Nexus of the s3 client for this
98+
blobstore.
99+
format: int32
100+
type: integer
101+
signerType:
102+
description: An API signature version which may be required
103+
for third party object stores using the S3 API.
104+
enum:
105+
- DEFAULT
106+
- S3SignerType
107+
- AWSS3V4SignerType
108+
type: string
109+
type: object
110+
bucket:
111+
description: Details of the S3 bucket such as name and region.
112+
properties:
113+
expiration:
114+
default: 3
115+
description: How many days until deleted blobs are finally
116+
removed from the S3 bucket (-1 to disable).
117+
format: int32
118+
type: integer
119+
name:
120+
description: The name of the S3 bucket.
121+
type: string
122+
prefix:
123+
description: The S3 blob store (i.e. S3 object) key prefix.
124+
type: string
125+
region:
126+
default: DEFAULT
127+
description: The AWS region to create a new S3 bucket in or
128+
an existing S3 bucket's region.
129+
type: string
130+
required:
131+
- name
132+
type: object
133+
bucketSecurity:
134+
description: Security details for granting access the S3 API.
135+
properties:
136+
accessKeyId:
137+
description: An IAM access key ID for granting access to the
138+
S3 bucket.
139+
properties:
140+
configMapKeyRef:
141+
description: Selects a key of a ConfigMap.
142+
properties:
143+
key:
144+
description: The key to select.
145+
type: string
146+
name:
147+
default: ""
148+
description: |-
149+
Name of the referent.
150+
This field is effectively required, but due to backwards compatibility is
151+
allowed to be empty. Instances of this type with an empty value here are
152+
almost certainly wrong.
153+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
154+
type: string
155+
required:
156+
- key
157+
type: object
158+
x-kubernetes-map-type: atomic
159+
secretKeyRef:
160+
description: Selects a key of a secret.
161+
properties:
162+
key:
163+
description: The key of the secret to select from.
164+
type: string
165+
name:
166+
default: ""
167+
description: |-
168+
Name of the referent.
169+
This field is effectively required, but due to backwards compatibility is
170+
allowed to be empty. Instances of this type with an empty value here are
171+
almost certainly wrong.
172+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
173+
type: string
174+
required:
175+
- key
176+
type: object
177+
x-kubernetes-map-type: atomic
178+
type: object
179+
role:
180+
description: An IAM role to assume in order to access the
181+
S3 bucket.
182+
type: string
183+
secretAccessKey:
184+
description: The secret access key associated with the specified
185+
IAM access key ID.
186+
properties:
187+
configMapKeyRef:
188+
description: Selects a key of a ConfigMap.
189+
properties:
190+
key:
191+
description: The key to select.
192+
type: string
193+
name:
194+
default: ""
195+
description: |-
196+
Name of the referent.
197+
This field is effectively required, but due to backwards compatibility is
198+
allowed to be empty. Instances of this type with an empty value here are
199+
almost certainly wrong.
200+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
201+
type: string
202+
required:
203+
- key
204+
type: object
205+
x-kubernetes-map-type: atomic
206+
secretKeyRef:
207+
description: Selects a key of a secret.
208+
properties:
209+
key:
210+
description: The key of the secret to select from.
211+
type: string
212+
name:
213+
default: ""
214+
description: |-
215+
Name of the referent.
216+
This field is effectively required, but due to backwards compatibility is
217+
allowed to be empty. Instances of this type with an empty value here are
218+
almost certainly wrong.
219+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
220+
type: string
221+
required:
222+
- key
223+
type: object
224+
x-kubernetes-map-type: atomic
225+
type: object
226+
sessionToken:
227+
description: An AWS STS session token associated with temporary
228+
security credentials which grant access to the S3 bucket.
229+
properties:
230+
configMapKeyRef:
231+
description: Selects a key of a ConfigMap.
232+
properties:
233+
key:
234+
description: The key to select.
235+
type: string
236+
name:
237+
default: ""
238+
description: |-
239+
Name of the referent.
240+
This field is effectively required, but due to backwards compatibility is
241+
allowed to be empty. Instances of this type with an empty value here are
242+
almost certainly wrong.
243+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
244+
type: string
245+
required:
246+
- key
247+
type: object
248+
x-kubernetes-map-type: atomic
249+
secretKeyRef:
250+
description: Selects a key of a secret.
251+
properties:
252+
key:
253+
description: The key of the secret to select from.
254+
type: string
255+
name:
256+
default: ""
257+
description: |-
258+
Name of the referent.
259+
This field is effectively required, but due to backwards compatibility is
260+
allowed to be empty. Instances of this type with an empty value here are
261+
almost certainly wrong.
262+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
263+
type: string
264+
required:
265+
- key
266+
type: object
267+
x-kubernetes-map-type: atomic
268+
type: object
269+
required:
270+
- accessKeyId
271+
- secretAccessKey
272+
type: object
273+
encryption:
274+
description: The type of encryption to use if any.
275+
properties:
276+
encryptionKey:
277+
description: If using KMS encryption, you can supply a Key
278+
ID. If left blank, then the default will be used.
279+
type: string
280+
encryptionType:
281+
description: The type of S3 server side encryption to use.
282+
enum:
283+
- none
284+
- s3ManagedEncryption
285+
- kmsManagedEncryption
286+
type: string
287+
type: object
288+
required:
289+
- bucket
290+
type: object
291+
softQuota:
292+
description: Settings to control the soft quota.
293+
properties:
294+
limit:
295+
description: The limit in MB.
296+
format: int64
297+
minimum: 1
298+
type: integer
299+
type:
300+
description: Type of the soft quota.
301+
enum:
302+
- spaceRemainingQuota
303+
- spaceUsedQuota
304+
type: string
305+
required:
306+
- limit
307+
- type
308+
type: object
309+
required:
310+
- name
311+
- nexusRef
312+
type: object
313+
status:
314+
description: NexusBlobStoreStatus defines the observed state of NexusBlobStore.
315+
properties:
316+
error:
317+
description: Error is an error message if something went wrong.
318+
type: string
319+
value:
320+
description: Value is a status of the blob store.
321+
type: string
322+
type: object
323+
type: object
324+
served: true
325+
storage: true
326+
subresources:
327+
status: {}
328+
status:
329+
acceptedNames:
330+
kind: ""
331+
plural: ""
332+
conditions: null
333+
storedVersions: null

0 commit comments

Comments
 (0)