Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 2a758a2

Browse files
committed
fix: Re-add v1beta2 source controller API to scheme
1 parent d9c3f26 commit 2a758a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/developing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $ cd my-cloudformation-templates
4545
3. Copy the example CloudFormation templates found in examples/my-cloudformation-templates/ into your CFN template git repository. Then, push the sample template files to the repo:
4646
```
4747
$ git add -A
48-
$ git commit -m "Sample template"
48+
$ git commit -m "Sample templates"
4949
$ git push --set-upstream origin main
5050
```
5151

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
"github.com/fluxcd/pkg/runtime/pprof"
2929
"github.com/fluxcd/pkg/runtime/probes"
3030
sourcev1 "github.com/fluxcd/source-controller/api/v1"
31+
sourcev1b2 "github.com/fluxcd/source-controller/api/v1beta2"
3132

3233
"github.com/awslabs/aws-cloudformation-controller-for-flux/api/v1alpha1"
3334
cfnv1 "github.com/awslabs/aws-cloudformation-controller-for-flux/api/v1alpha1"
@@ -55,6 +56,7 @@ var (
5556
func init() {
5657
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
5758
utilruntime.Must(sourcev1.AddToScheme(scheme))
59+
utilruntime.Must(sourcev1b2.AddToScheme(scheme))
5860
utilruntime.Must(cfnv1.AddToScheme(scheme))
5961
// +kubebuilder:scaffold:scheme
6062
}

0 commit comments

Comments
 (0)