Skip to content

Commit

Permalink
Upgrade OPA constraint framework (#132)
Browse files Browse the repository at this point in the history
* Upgrade OPA constraint framework
* Change revision -> version in Gopkg.toml

Signed-off-by: Max Smythe <[email protected]>
  • Loading branch information
maxsmythe authored Apr 8, 2020
1 parent af2dfb3 commit 013db51
Show file tree
Hide file tree
Showing 988 changed files with 324,282 additions and 29,700 deletions.
262 changes: 235 additions & 27 deletions go/Gopkg.lock

Large diffs are not rendered by default.

29 changes: 24 additions & 5 deletions go/Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,42 @@
# go-tests = true
# unused-packages = true


[[constraint]]
version = "kubernetes-1.12.3"
version = "v0.17.2"
name = "k8s.io/apimachinery"

[[override]]
version = "kubernetes-1.12.3"
version = "v0.17.2"
name = "k8s.io/apiserver"

[[override]]
version = "v0.17.2"
name = "k8s.io/client-go"

[[override]]
version = "v0.17.2"
name = "k8s.io/component-base"

[[override]]
version = "v0.17.2"
name = "k8s.io/api"

[[override]]
version = "v0.17.2"
name = "k8s.io/apiextensions-apiserver"

[[constraint]]
version = "v3.0.4-beta.1"
version = "v3.1.0-beta.8"
name = "github.com/open-policy-agent/gatekeeper"

[[override]]
revision = "546a2d6a3811245b9c878f677ca9cd0e1adc5570"
revision = "1a8f361c3e490db40653dbe0984040c4068ac09e"
name = "github.com/open-policy-agent/frameworks"

[[override]]
version = "v0.17.2"
name = "github.com/open-policy-agent/opa"

[prune]
go-tests = true
unused-packages = true
2 changes: 1 addition & 1 deletion go/pkg/functions/gatekeeper/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func init() {
}
}

func createClient() (opaclient.Client, error) {
func createClient() (*opaclient.Client, error) {
driver := local.New(local.Tracing(false))
backend, err := opaclient.NewBackend(opaclient.Driver(driver))
if err != nil {
Expand Down
3 changes: 3 additions & 0 deletions go/vendor/github.com/golang/protobuf/AUTHORS

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

3 changes: 3 additions & 0 deletions go/vendor/github.com/golang/protobuf/CONTRIBUTORS

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

28 changes: 28 additions & 0 deletions go/vendor/github.com/golang/protobuf/LICENSE

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

253 changes: 253 additions & 0 deletions go/vendor/github.com/golang/protobuf/proto/clone.go

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

Loading

0 comments on commit 013db51

Please sign in to comment.