hive-apps/projects/crossplane/manifests/xrd-bucket.yml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2023-11-08 08:09:04 +00:00
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