Skip to content

Commit

Permalink
Bump upjet version to commit 7fb82a477111
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
  • Loading branch information
ulucinar committed Jul 31, 2023
1 parent e0a502b commit 11e35ed
Show file tree
Hide file tree
Showing 409 changed files with 1,028 additions and 816 deletions.
7 changes: 5 additions & 2 deletions cmd/provider/accesscontextmanager/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-accesscontextmanager",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/activedirectory/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-activedirectory",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/apigee/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-apigee",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/appengine/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-appengine",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/artifact/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-artifact",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/beyondcorp/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-beyondcorp",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/bigquery/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-bigquery",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/bigtable/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-bigtable",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/binaryauthorization/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-binaryauthorization",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/certificatemanager/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-certificatemanager",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/cloud/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-cloud",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/cloudbuild/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-cloudbuild",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/cloudfunctions/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-cloudfunctions",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
7 changes: 5 additions & 2 deletions cmd/provider/cloudfunctions2/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"

tjcontroller "github.com/upbound/upjet/pkg/controller"
"github.com/upbound/upjet/pkg/controller/handler"
"github.com/upbound/upjet/pkg/terraform"

"github.com/upbound/provider-gcp/apis"
Expand Down Expand Up @@ -87,6 +88,7 @@ func main() {
cfg, err := ctrl.GetConfig()
kingpin.FatalIfError(err, "Cannot get API server rest config")

eventHandler := handler.NewEventHandler()
mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{
LeaderElection: *leaderElection,
LeaderElectionID: "crossplane-leader-election-provider-gcp-cloudfunctions2",
Expand Down Expand Up @@ -117,8 +119,9 @@ func main() {
MaxConcurrentReconciles: *maxReconcileRate,
Features: &feature.Flags{},
},
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
Provider: config.GetProvider(),
SetupFn: clients.TerraformSetupBuilder(*terraformVersion, *nativeProviderSource, *providerVersion, scheduler),
EventHandler: eventHandler,
}

if *enableManagementPolicies {
Expand Down
Loading

0 comments on commit 11e35ed

Please sign in to comment.