Skip to content

Commit

Permalink
Merge pull request #380 from ezgidemirel/fix-205
Browse files Browse the repository at this point in the history
Add store config scheme
  • Loading branch information
ezgidemirel authored Dec 27, 2022
2 parents 4a08392 + 9d3bb04 commit 37bf15a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright 2021 Upbound Inc.
*/

// Package v1alpha1 contains the core resources of the aws jet provider.
// Package v1alpha1 contains the core resources of the aws provider.
// +kubebuilder:object:generate=true
// +groupName=aws.upbound.io
// +versionName=v1alpha1
Expand Down
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 AWS 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,aws}
// +kubebuilder:subresource:status
type StoreConfig struct {
metav1.TypeMeta `json:",inline"`
Expand Down
2 changes: 2 additions & 0 deletions apis/zz_register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ var (
var (
BasePackages = config.BasePackages{
APIVersion: []string{
"apis/v1alpha1",
"apis/v1beta1",
},
Controller: []string{
Expand Down
4 changes: 2 additions & 2 deletions package/crds/aws.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
- aws
kind: StoreConfig
listKind: StoreConfigList
plural: storeconfigs
Expand All @@ -32,7 +32,7 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: A StoreConfig configures how GCP controller should store connection
description: A StoreConfig configures how AWS controller should store connection
details.
properties:
apiVersion:
Expand Down

0 comments on commit 37bf15a

Please sign in to comment.