Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade crds #10

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions chart/crds/core.krateo.io_compositiondefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
names:
categories:
- krateo
- definition
- defs
- core
kind: CompositionDefinition
listKind: CompositionDefinitionList
Expand All @@ -19,19 +19,24 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.resource
name: RESOURCE
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: READY
type: string
- jsonPath: .status.packageUrl
name: PACKAGE URL
type: string
- jsonPath: .metadata.creationTimestamp
name: AGE
priority: 10
type: date
- jsonPath: .status.apiVersion
name: API VERSION
priority: 10
type: string
- jsonPath: .status.kind
name: KIND
priority: 10
type: string
- jsonPath: .status.packageUrl
name: PACKAGE URL
priority: 10
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -98,6 +103,9 @@ spec:
status:
description: CompositionDefinitionStatus is the status of a CompositionDefinition.
properties:
apiVersion:
description: 'APIVersion: the generated custom resource API version'
type: string
conditions:
description: Conditions of the resource.
items:
Expand Down Expand Up @@ -134,12 +142,12 @@ spec:
- type
type: object
type: array
kind:
description: 'Kind: the generated custom resource Kind'
type: string
packageUrl:
description: 'PackageURL: .tgz or oci chart direct url'
type: string
resource:
description: 'Resource: the generated custom resource'
type: string
type: object
type: object
served: true
Expand Down
21 changes: 14 additions & 7 deletions chart/crds/core.krateo.io_schemadefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
names:
categories:
- krateo
- definition
- defs
- core
kind: SchemaDefinition
listKind: SchemaDefinitionList
Expand All @@ -19,16 +19,20 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.resource
name: RESOURCE
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: READY
type: string
- jsonPath: .metadata.creationTimestamp
name: AGE
priority: 10
type: date
- jsonPath: .status.apiVersion
name: API VERSION
priority: 10
type: string
- jsonPath: .status.kind
name: KIND
priority: 10
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -87,6 +91,9 @@ spec:
status:
description: SchemaDefinitionStatus is the status of a Definition.
properties:
apiVersion:
description: 'APIVersion: the generated custom resource API version'
type: string
conditions:
description: Conditions of the resource.
items:
Expand Down Expand Up @@ -126,8 +133,8 @@ spec:
digest:
description: 'Digest: schema digest'
type: string
resource:
description: 'Resource: the generated custom resource'
kind:
description: 'Kind: the generated custom resource Kind'
type: string
type: object
type: object
Expand Down
Loading