hive-apps/projects/crossplane/manifests/xrd-bucket.yml
2023-11-08 09:09:08 +01:00

42 lines
1.1 KiB
YAML

apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xbuckets.s3.gnu.one
spec:
claimNames:
kind: Bucket
plural: buckets
defaultCompositeDeletePolicy: Background
defaultCompositionUpdatePolicy: Automatic
group: s3.gnu.one
names:
kind: XBucket
plural: xbuckets
versions:
- name: v1alpha1
referenceable: true
schema:
openAPIV3Schema:
properties:
spec:
properties:
name:
description: Name of the Bucket to create
type: string
secretName:
default: bucket-creds
description: Name of secret to write credentials to
type: string
required:
- name
type: object
status:
description: A Status represents the observed state
properties:
share:
description: Freeform field containing status information
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
type: object
served: true