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

49 lines
1.3 KiB
YAML
Raw Normal View History

2023-11-08 08:09:04 +00:00
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xpostgres.db.gnu.one
spec:
claimNames:
kind: Postgres
plural: postgres
defaultCompositeDeletePolicy: Background
defaultCompositionUpdatePolicy: Automatic
group: db.gnu.one
names:
kind: XPostgres
plural: xpostgres
versions:
2023-12-16 12:26:52 +00:00
- name: v1alpha1
2023-11-08 08:09:04 +00:00
referenceable: true
schema:
openAPIV3Schema:
properties:
spec:
properties:
name:
description: Name of the DB to create
type: string
storage:
class:
default: '-'
description: Storage Class to use for DB
type: string
size:
default: 10Gi
description: Size of DB Persistent Storage
type: string
type: object
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