Skip to content

Commit

Permalink
fixed dep issues
Browse files Browse the repository at this point in the history
  • Loading branch information
happytreees committed Sep 14, 2023
1 parent 353a417 commit a35c30f
Show file tree
Hide file tree
Showing 105 changed files with 5,954 additions and 12,398 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ require (
k8s.io/klog/v2 v2.100.1
)

replace github.com/google/cel-go => github.com/google/cel-go v0.16.0

require (
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/NYTimes/gziphandler v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4=
github.com/google/cel-go v0.18.0 h1:u74MPiEC8mejBrkXqrTWT102g5IFEUjxOngzQIijMzU=
github.com/google/cel-go v0.18.0/go.mod h1:PVAybmSnWkNMUZR/tEWFUiJ1Np4Hz0MHsZJcgC4zln4=
github.com/google/cel-go v0.16.0 h1:DG9YQ8nFCFXAs/FDDwBxmL1tpKNrdlGUM9U3537bX/Y=
github.com/google/cel-go v0.16.0/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I=
github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
11 changes: 10 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main

import (
goflag "flag"
"k8s.io/cloud-provider/names"
"math/rand"
"time"

Expand Down Expand Up @@ -30,7 +31,15 @@ func main() {
ccmOptions.KubeCloudShared.CloudProvider.Name = vultr.ProviderName
ccmOptions.Authentication.SkipInClusterLookup = true

command := app.NewCloudControllerManagerCommand(ccmOptions, cloudInitializer, app.DefaultInitFuncConstructors, flag.NamedFlagSets{}, wait.NeverStop)
controllerAliases := names.CCMControllerAliases()

command := app.NewCloudControllerManagerCommand(
ccmOptions,
cloudInitializer,
app.DefaultInitFuncConstructors,
controllerAliases,
flag.NamedFlagSets{},
wait.NeverStop)

vultr.Options.KubeconfigFlag = command.Flags().Lookup("kubeconfig")

Expand Down
12 changes: 1 addition & 11 deletions vendor/github.com/google/cel-go/cel/BUILD.bazel

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

0 comments on commit a35c30f

Please sign in to comment.