* scheme update
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
apiVersion: apiextensions.crossplane.io/v2
|
||||
kind: CompositeResourceDefinition
|
||||
metadata:
|
||||
name: xobjectstorages.mathod.io #(1)!
|
||||
spec:
|
||||
scope: Namespaced
|
||||
group: mathod.io #(2)!
|
||||
names:
|
||||
kind: XObjectStorage
|
||||
plural: xobjectstorages
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
referenceable: true
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
parameters:
|
||||
type: object
|
||||
properties:
|
||||
bucketName:
|
||||
type: string
|
||||
description: "Nom du bucket S3"
|
||||
region:
|
||||
type: string
|
||||
description: "Région AWS"
|
||||
default: "eu-west-1"
|
||||
versioning:
|
||||
type: boolean
|
||||
description: "Activer le versioning"
|
||||
default: false
|
||||
encryption:
|
||||
type: boolean
|
||||
description: "Activer le chiffrement"
|
||||
default: true
|
||||
publicAccess:
|
||||
type: boolean
|
||||
description: "Autoriser l'accès public"
|
||||
default: false
|
||||
required:
|
||||
- bucketName
|
||||
required:
|
||||
- parameters
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
bucketArn:
|
||||
type: string
|
||||
bucketDomain:
|
||||
type: string
|
||||
Reference in New Issue
Block a user