Refactor create source
- use source API package instead of a text template - use controller-runtime client instead of kubectl
This commit is contained in:
8
go.mod
8
go.mod
@@ -4,7 +4,15 @@ go 1.14
|
||||
|
||||
require (
|
||||
github.com/blang/semver v3.5.1+incompatible
|
||||
github.com/fluxcd/kustomize-controller v0.0.1-alpha.4
|
||||
github.com/fluxcd/source-controller v0.0.1-alpha.2
|
||||
github.com/manifoldco/promptui v0.7.0
|
||||
github.com/spf13/cobra v0.0.6
|
||||
k8s.io/api v0.18.2
|
||||
k8s.io/apimachinery v0.18.2
|
||||
k8s.io/client-go v0.18.2
|
||||
sigs.k8s.io/controller-runtime v0.6.0
|
||||
)
|
||||
|
||||
// fix AKS auth
|
||||
replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v14.0.1+incompatible
|
||||
|
||||
Reference in New Issue
Block a user