Skip to content

Commit

Permalink
Merge pull request #160 from AbelHu/abel/add-vendor
Browse files Browse the repository at this point in the history
Add vendor and support version
  • Loading branch information
k8s-ci-robot authored Nov 18, 2024
2 parents 21cbc8b + 933c391 commit a30061c
Show file tree
Hide file tree
Showing 3,213 changed files with 1,151,190 additions and 2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion admission-webhook/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/dev/
/integration_tests/tmp/
/vendor/
/testdata/
2 changes: 1 addition & 1 deletion admission-webhook/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ toolchain go1.22.2

require (
github.com/fsnotify/fsnotify v1.7.0
github.com/google/uuid v1.6.0
github.com/mitchellh/go-homedir v1.1.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
Expand All @@ -29,7 +30,6 @@ require (
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand Down
6 changes: 6 additions & 0 deletions admission-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ func main() {
initLogrus()

enableCertReload := flag.Bool("cert-reload", false, "enable certificate reload")
v := flag.Bool("version", false, "show version")
flag.Parse()

if *v {
fmt.Printf("windows-gmsa-webhook v%s\n", getVersion())
os.Exit(0)
}

kubeClient, err := createKubeClient()
if err != nil {
panic(err)
Expand Down
15 changes: 15 additions & 0 deletions admission-webhook/vendor/github.com/davecgh/go-spew/LICENSE

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

145 changes: 145 additions & 0 deletions admission-webhook/vendor/github.com/davecgh/go-spew/spew/bypass.go

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

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

Loading

0 comments on commit a30061c

Please sign in to comment.