Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger #247

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
// to ensure that exec-entrypoint and run can make use of them.
_ "k8s.io/client-go/plugin/pkg/client/auth"

apiclientset "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
"k8s.io/apimachinery/pkg/runtime"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
Expand All @@ -42,8 +43,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

apiclientset "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"

natsv1alpha1 "github.com/kyma-project/nats-manager/api/v1alpha1"
natscontroller "github.com/kyma-project/nats-manager/internal/controller/nats"
)
Expand All @@ -56,7 +55,7 @@ func main() { //nolint:funlen // main function needs to initialize many objects
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
utilruntime.Must(natsv1alpha1.AddToScheme(scheme))

// get configs from ENV
// Get configs from ENV.
envConfigs, err := env.GetConfig()
if err != nil {
setupLog.Error(err, "unable to get configs from env")
Expand Down
18 changes: 17 additions & 1 deletion internal/controller/nats/mocks/controller.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 69 additions & 1 deletion internal/controller/nats/mocks/manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion pkg/k8s/chart/mocks/renderer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 29 additions & 1 deletion pkg/k8s/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading