Skip to content

Commit

Permalink
fix some more template refs (#43)
Browse files Browse the repository at this point in the history
* fix: remove an other template ref

* fix: remove an other template ref
  • Loading branch information
AtzeDeVries authored Feb 7, 2024
1 parent 70d770f commit a6a6dca
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apis/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type ProviderConfigList struct {
// +kubebuilder:printcolumn:name="CONFIG-NAME",type="string",JSONPath=".providerConfigRef.name"
// +kubebuilder:printcolumn:name="RESOURCE-KIND",type="string",JSONPath=".resourceRef.kind"
// +kubebuilder:printcolumn:name="RESOURCE-NAME",type="string",JSONPath=".resourceRef.name"
// +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,template}
// +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,github}
type ProviderConfigUsage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ require (
github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79
github.com/crossplane/upjet v1.1.0
github.com/pkg/errors v0.9.1
github.com/upbound/upjet-provider-template v0.0.0-20231113134727-64563d507d1a
gopkg.in/alecthomas/kingpin.v2 v2.2.6
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ=
github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w=
github.com/upbound/upjet-provider-template v0.0.0-20231113134727-64563d507d1a h1:e1zZKSJVtWQjcwd1Z6fV1PwNXNULzl/onnS5BcIB1Cg=
github.com/upbound/upjet-provider-template v0.0.0-20231113134727-64563d507d1a/go.mod h1:2CWYFMyep8X83IzrBRPtKE+hO/4UWNISiyZonHJB/yk=
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI=
github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/providerconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/crossplane/upjet/pkg/controller"
ctrl "sigs.k8s.io/controller-runtime"

"github.com/upbound/upjet-provider-template/apis/v1beta1"
"github.com/coopnorge/provider-github/apis/v1beta1"
)

// Setup adds a controller that reconciles ProviderConfigs by accounting for
Expand Down
2 changes: 1 addition & 1 deletion package/crds/github.upbound.io_providerconfigusages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
categories:
- crossplane
- provider
- template
- github
kind: ProviderConfigUsage
listKind: ProviderConfigUsageList
plural: providerconfigusages
Expand Down

0 comments on commit a6a6dca

Please sign in to comment.