Skip to content

Commit

Permalink
feat(v1): switch meta.pkg to v1 and fix one issue in storeconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Haar <[email protected]>
  • Loading branch information
haarchri committed Sep 16, 2023
1 parent 0a4e8da commit 025c49c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apis/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
6 changes: 3 additions & 3 deletions package/crds/template.upbound.io_storeconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
categories:
- crossplane
- store
- gcp
- template
kind: StoreConfig
listKind: StoreConfigList
plural: storeconfigs
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: meta.pkg.crossplane.io/v1alpha1
apiVersion: meta.pkg.crossplane.io/v1
kind: Provider
metadata:
name: upjet-provider-template

0 comments on commit 025c49c

Please sign in to comment.