Skip to content

Commit

Permalink
add support for the VenafiConnection CRD with --use-venafi-connection…
Browse files Browse the repository at this point in the history
…=name
  • Loading branch information
maelvls committed Jul 19, 2024
1 parent f24dc9a commit 6718598
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 4 deletions.
6 changes: 6 additions & 0 deletions cmd/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ func init() {
os.Getenv("API_TOKEN"),
"Token used for authentication when API tokens are in use on the backend",
)
agentCmd.PersistentFlags().StringVar(
&agent.VenConn,
"venafi-connection",
"",
"VenafiConnection to be used",
)
agentCmd.PersistentFlags().BoolVarP(
&agent.Profiling,
"enable-pprof",
Expand Down
30 changes: 26 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/jetstack/preflight

go 1.22.0

toolchain go1.22.3
go 1.22

require (
github.com/Jeffail/gabs/v2 v2.7.0
Expand All @@ -26,16 +24,40 @@ require (
k8s.io/api v0.30.0
k8s.io/apimachinery v0.30.0
k8s.io/client-go v0.30.0
sigs.k8s.io/controller-runtime v0.18.2
sigs.k8s.io/yaml v1.4.0
)

require (
github.com/Venafi/vcert/v5 v5.6.5-0.20240430163638-86272e17ec45 // indirect
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-http-utils/headers v0.0.0-20181008091004-fed159eddc2a // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/cel-go v0.17.8 // indirect
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/jetstack/venafi-connection-lib v0.1.0 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/sosodev/duration v1.2.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sync v0.7.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
k8s.io/apiextensions-apiserver v0.30.0 // indirect
k8s.io/apiserver v0.30.0 // indirect
k8s.io/component-base v0.30.0 // indirect
)

require (
Expand Down
Loading

0 comments on commit 6718598

Please sign in to comment.