feat: vertical slice application -> provider -> binding (#4)
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #4.
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: applications.application.t000-n.de
|
||||
spec:
|
||||
group: application.t000-n.de
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
additionalPrinterColumns:
|
||||
- name: PK
|
||||
type: string
|
||||
jsonPath: .status.pk
|
||||
- name: Name
|
||||
type: string
|
||||
jsonPath: .spec.name
|
||||
- name: Slug
|
||||
type: string
|
||||
jsonPath: .spec.slug
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Application's display name
|
||||
slug:
|
||||
type: string
|
||||
description: Internal application name, used in URLs.
|
||||
pattern: ^[-a-zA-Z0-9_]+$
|
||||
provider:
|
||||
type: integer
|
||||
format: int32
|
||||
required:
|
||||
- name
|
||||
- slug
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
pk:
|
||||
type: string
|
||||
format: uuid
|
||||
required:
|
||||
- pk
|
||||
names:
|
||||
kind: Application
|
||||
plural: applications
|
||||
shortNames:
|
||||
- app
|
||||
scope: Namespaced
|
||||
Reference in New Issue
Block a user