1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Refactor create source

- use source API package instead of a text template
- use controller-runtime client instead of kubectl
This commit is contained in:
stefanprodan
2020-04-26 23:28:01 +03:00
parent 7a804dfb2e
commit 0f5204a8c1
6 changed files with 585 additions and 75 deletions

8
go.mod
View File

@@ -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