Skip to content

Commit 07dc5a9

Browse files
authored
operator nexus-operator (3.3.0)
1 parent 0d26e62 commit 07dc5a9

11 files changed

+6088
-0
lines changed
Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.15.0
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+
type: object
56+
name:
57+
description: |-
58+
Name of the BlobStore.
59+
Name should be unique across all BlobStores.
60+
type: string
61+
x-kubernetes-validations:
62+
- message: Value is immutable
63+
rule: self == oldSelf
64+
nexusRef:
65+
description: NexusRef is a reference to Nexus custom resource.
66+
properties:
67+
kind:
68+
default: Nexus
69+
description: Kind specifies the kind of the Nexus resource.
70+
type: string
71+
name:
72+
description: Name specifies the name of the Nexus resource.
73+
type: string
74+
required:
75+
- name
76+
type: object
77+
s3:
78+
description: S3 type blobstore.
79+
properties:
80+
advancedBucketConnection:
81+
description: A custom endpoint URL, signer type and whether path
82+
style access is enabled.
83+
properties:
84+
endpoint:
85+
description: A custom endpoint URL for third party object
86+
stores using the S3 API.
87+
type: string
88+
forcePathStyle:
89+
default: false
90+
description: Setting this flag will result in path-style access
91+
being used for all requests.
92+
type: boolean
93+
maxConnectionPoolSize:
94+
description: Setting this value will override the default
95+
connection pool size of Nexus of the s3 client for this
96+
blobstore.
97+
format: int32
98+
type: integer
99+
signerType:
100+
description: An API signature version which may be required
101+
for third party object stores using the S3 API.
102+
enum:
103+
- DEFAULT
104+
- S3SignerType
105+
- AWSS3V4SignerType
106+
type: string
107+
type: object
108+
bucket:
109+
description: Details of the S3 bucket such as name and region.
110+
properties:
111+
expiration:
112+
default: 3
113+
description: How many days until deleted blobs are finally
114+
removed from the S3 bucket (-1 to disable).
115+
format: int32
116+
type: integer
117+
name:
118+
description: The name of the S3 bucket.
119+
type: string
120+
prefix:
121+
description: The S3 blob store (i.e. S3 object) key prefix.
122+
type: string
123+
region:
124+
default: DEFAULT
125+
description: The AWS region to create a new S3 bucket in or
126+
an existing S3 bucket's region.
127+
type: string
128+
required:
129+
- name
130+
type: object
131+
bucketSecurity:
132+
description: Security details for granting access the S3 API.
133+
properties:
134+
accessKeyId:
135+
description: An IAM access key ID for granting access to the
136+
S3 bucket.
137+
properties:
138+
configMapKeyRef:
139+
description: Selects a key of a ConfigMap.
140+
properties:
141+
key:
142+
description: The key to select.
143+
type: string
144+
name:
145+
description: |-
146+
Name of the referent.
147+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
148+
TODO: Add other useful fields. apiVersion, kind, uid?
149+
type: string
150+
required:
151+
- key
152+
type: object
153+
x-kubernetes-map-type: atomic
154+
secretKeyRef:
155+
description: Selects a key of a secret.
156+
properties:
157+
key:
158+
description: The key of the secret to select from.
159+
type: string
160+
name:
161+
description: |-
162+
Name of the referent.
163+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
164+
TODO: Add other useful fields. apiVersion, kind, uid?
165+
type: string
166+
required:
167+
- key
168+
type: object
169+
x-kubernetes-map-type: atomic
170+
type: object
171+
role:
172+
description: An IAM role to assume in order to access the
173+
S3 bucket.
174+
type: string
175+
secretAccessKey:
176+
description: The secret access key associated with the specified
177+
IAM access key ID.
178+
properties:
179+
configMapKeyRef:
180+
description: Selects a key of a ConfigMap.
181+
properties:
182+
key:
183+
description: The key to select.
184+
type: string
185+
name:
186+
description: |-
187+
Name of the referent.
188+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
189+
TODO: Add other useful fields. apiVersion, kind, uid?
190+
type: string
191+
required:
192+
- key
193+
type: object
194+
x-kubernetes-map-type: atomic
195+
secretKeyRef:
196+
description: Selects a key of a secret.
197+
properties:
198+
key:
199+
description: The key of the secret to select from.
200+
type: string
201+
name:
202+
description: |-
203+
Name of the referent.
204+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
205+
TODO: Add other useful fields. apiVersion, kind, uid?
206+
type: string
207+
required:
208+
- key
209+
type: object
210+
x-kubernetes-map-type: atomic
211+
type: object
212+
sessionToken:
213+
description: An AWS STS session token associated with temporary
214+
security credentials which grant access to the S3 bucket.
215+
properties:
216+
configMapKeyRef:
217+
description: Selects a key of a ConfigMap.
218+
properties:
219+
key:
220+
description: The key to select.
221+
type: string
222+
name:
223+
description: |-
224+
Name of the referent.
225+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
226+
TODO: Add other useful fields. apiVersion, kind, uid?
227+
type: string
228+
required:
229+
- key
230+
type: object
231+
x-kubernetes-map-type: atomic
232+
secretKeyRef:
233+
description: Selects a key of a secret.
234+
properties:
235+
key:
236+
description: The key of the secret to select from.
237+
type: string
238+
name:
239+
description: |-
240+
Name of the referent.
241+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
242+
TODO: Add other useful fields. apiVersion, kind, uid?
243+
type: string
244+
required:
245+
- key
246+
type: object
247+
x-kubernetes-map-type: atomic
248+
type: object
249+
required:
250+
- accessKeyId
251+
- secretAccessKey
252+
type: object
253+
encryption:
254+
description: The type of encryption to use if any.
255+
properties:
256+
encryptionKey:
257+
description: If using KMS encryption, you can supply a Key
258+
ID. If left blank, then the default will be used.
259+
type: string
260+
encryptionType:
261+
description: The type of S3 server side encryption to use.
262+
enum:
263+
- none
264+
- s3ManagedEncryption
265+
- kmsManagedEncryption
266+
type: string
267+
type: object
268+
required:
269+
- bucket
270+
type: object
271+
softQuota:
272+
description: Settings to control the soft quota.
273+
properties:
274+
limit:
275+
description: The limit in MB.
276+
format: int64
277+
minimum: 1
278+
type: integer
279+
type:
280+
description: Type of the soft quota.
281+
enum:
282+
- spaceRemainingQuota
283+
- spaceUsedQuota
284+
type: string
285+
type: object
286+
required:
287+
- name
288+
- nexusRef
289+
type: object
290+
status:
291+
description: NexusBlobStoreStatus defines the observed state of NexusBlobStore.
292+
properties:
293+
error:
294+
description: Error is an error message if something went wrong.
295+
type: string
296+
value:
297+
description: Value is a status of the blob store.
298+
type: string
299+
type: object
300+
type: object
301+
served: true
302+
storage: true
303+
subresources:
304+
status: {}
305+
status:
306+
acceptedNames:
307+
kind: ""
308+
plural: ""
309+
conditions: null
310+
storedVersions: null

0 commit comments

Comments
 (0)