From 025c49c2d68b84ec7ec35c0f141004288cef4c84 Mon Sep 17 00:00:00 2001 From: Christopher Haar Date: Sat, 16 Sep 2023 20:49:06 +0200 Subject: [PATCH] feat(v1): switch meta.pkg to v1 and fix one issue in storeconfig Signed-off-by: Christopher Haar --- apis/v1alpha1/types.go | 4 ++-- package/crds/template.upbound.io_storeconfigs.yaml | 6 +++--- package/crossplane.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apis/v1alpha1/types.go b/apis/v1alpha1/types.go index a8cab41..3f8f25a 100644 --- a/apis/v1alpha1/types.go +++ b/apis/v1alpha1/types.go @@ -22,11 +22,11 @@ type StoreConfigStatus struct { // +kubebuilder:object:root=true -// A StoreConfig configures how GCP controller should store connection details. +// A StoreConfig configures how template controller should store connection details. // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.type" // +kubebuilder:printcolumn:name="DEFAULT-SCOPE",type="string",JSONPath=".spec.defaultScope" -// +kubebuilder:resource:scope=Cluster,categories={crossplane,store,gcp} +// +kubebuilder:resource:scope=Cluster,categories={crossplane,store,template} // +kubebuilder:subresource:status type StoreConfig struct { metav1.TypeMeta `json:",inline"` diff --git a/package/crds/template.upbound.io_storeconfigs.yaml b/package/crds/template.upbound.io_storeconfigs.yaml index 33a2c7d..48e416a 100644 --- a/package/crds/template.upbound.io_storeconfigs.yaml +++ b/package/crds/template.upbound.io_storeconfigs.yaml @@ -12,7 +12,7 @@ spec: categories: - crossplane - store - - gcp + - template kind: StoreConfig listKind: StoreConfigList plural: storeconfigs @@ -32,8 +32,8 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: A StoreConfig configures how GCP controller should store connection - details. + description: A StoreConfig configures how template controller should store + connection details. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 387ae0d..8e70739 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -1,4 +1,4 @@ -apiVersion: meta.pkg.crossplane.io/v1alpha1 +apiVersion: meta.pkg.crossplane.io/v1 kind: Provider metadata: name: upjet-provider-template