chore(work): add Crossplane examples
This commit is contained in:
parent
c3edbddce8
commit
31a9a4ce92
10 changed files with 375 additions and 0 deletions
|
|
@ -0,0 +1,47 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue