47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
apiVersion: apiextensions.crossplane.io/v1
|
|
kind: CompositeResourceDefinition
|
|
metadata:
|
|
name: xexamples.k8s.masos.dev
|
|
spec:
|
|
group: k8s.masos.dev
|
|
names:
|
|
kind: XExample
|
|
plural: xexamples
|
|
claimNames:
|
|
kind: Example
|
|
plural: examples
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
referenceable: true
|
|
schema:
|
|
openAPIV3Schema:
|
|
type: object
|
|
properties:
|
|
spec:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
description: ID of this resource that other objects will use to refer to it.
|
|
tenant:
|
|
type: string
|
|
description: Tenant using this resource
|
|
providerConfigRef:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
|
|
required:
|
|
- name
|
|
- tenant
|
|
|
|
status:
|
|
type: object
|
|
properties:
|
|
masos:
|
|
type: object
|
|
x-kubernetes-preserve-unknown-fields: true
|
|
masos-id:
|
|
type: string
|