From a5cc1216a7b5fad18d835d88ec8204b2c17b6708 Mon Sep 17 00:00:00 2001 From: Luca Sepe Date: Tue, 9 Apr 2024 16:51:18 +0200 Subject: [PATCH] feat: upgrade crds --- ...core.krateo.io_compositiondefinitions.yaml | 30 ++++++++++++------- .../core.krateo.io_schemadefinitions.yaml | 21 ++++++++----- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/chart/crds/core.krateo.io_compositiondefinitions.yaml b/chart/crds/core.krateo.io_compositiondefinitions.yaml index 3c9bd32..8daceae 100644 --- a/chart/crds/core.krateo.io_compositiondefinitions.yaml +++ b/chart/crds/core.krateo.io_compositiondefinitions.yaml @@ -10,7 +10,7 @@ spec: names: categories: - krateo - - definition + - defs - core kind: CompositionDefinition listKind: CompositionDefinitionList @@ -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: @@ -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: @@ -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 diff --git a/chart/crds/core.krateo.io_schemadefinitions.yaml b/chart/crds/core.krateo.io_schemadefinitions.yaml index 02fc6d8..db8229b 100644 --- a/chart/crds/core.krateo.io_schemadefinitions.yaml +++ b/chart/crds/core.krateo.io_schemadefinitions.yaml @@ -10,7 +10,7 @@ spec: names: categories: - krateo - - definition + - defs - core kind: SchemaDefinition listKind: SchemaDefinitionList @@ -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: @@ -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: @@ -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