Skip to content

Commit

Permalink
Merge pull request #7 from stefanprodan/gotk-v0.1
Browse files Browse the repository at this point in the history
Update source.toolkit.fluxcd.io APIs to v1beta1
  • Loading branch information
stefanprodan authored Oct 1, 2020
2 parents 937f502 + 452b8c5 commit e30f399
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 81 deletions.
2 changes: 1 addition & 1 deletion controllers/gitrepository_predicate.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/event"
"sigs.k8s.io/controller-runtime/pkg/predicate"

sourcev1 "github.com/fluxcd/source-controller/api/v1alpha1"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta1"
)

// GitRepositoryRevisionChangePredicate triggers an update event
Expand Down
2 changes: 1 addition & 1 deletion controllers/gitrepository_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/fluxcd/pkg/untar"
sourcev1 "github.com/fluxcd/source-controller/api/v1alpha1"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta1"
)

// GitRepositoryWatcher watches GitRepository objects for revision changes
Expand Down
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ module github.com/stefanprodan/source-watcher
go 1.15

require (
github.com/fluxcd/pkg/runtime v0.0.6
github.com/fluxcd/pkg/untar v0.0.5
github.com/fluxcd/source-controller/api v0.0.9
github.com/fluxcd/source-controller/api v0.1.0
github.com/go-logr/logr v0.1.0
go.uber.org/zap v1.13.0
k8s.io/apimachinery v0.18.4
k8s.io/client-go v0.18.4
sigs.k8s.io/controller-runtime v0.6.1
k8s.io/apimachinery v0.18.9
k8s.io/client-go v0.18.9
sigs.k8s.io/controller-runtime v0.6.3
)
Loading

0 comments on commit e30f399

Please sign in to comment.