new(gatekeeper): OPA Gatekeeper gator CLI (CNCF graduated)#13140
Open
tannevaled wants to merge 4 commits into
Open
new(gatekeeper): OPA Gatekeeper gator CLI (CNCF graduated)#13140tannevaled wants to merge 4 commits into
tannevaled wants to merge 4 commits into
Conversation
Packages the local gator validation tool from open-policy-agent/gatekeeper, the only piece relevant to pkgx users (the controller-manager runs in-cluster). Test: gator --version reports the pinned version (set via the pkg/version.Version ldflag, matching the upstream Makefile and Homebrew formula).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gator, the local validation CLI from open-policy-agent/gatekeeper. The controller-manager half of Gatekeeper runs in-cluster and is out of scope for pkgx; thegatorsuite (verify,test,expand,sync,policy,bench) is what's useful on a developer workstation.openpolicyagent.org/opawhich is already in pantry.go build ./cmd/gatorwith the upstream version ldflag (github.com/open-policy-agent/gatekeeper/v3/pkg/version.Version) — same path used by the upstreamMakefileand by the Homebrewgatorformula.Test plan
bk build github.com/open-policy-agent/gatekeepersucceeds on darwin/aarch64bk test github.com/open-policy-agent/gatekeepersucceeds (gator --versionprints the pinned tag)bk audit github.com/open-policy-agent/gatekeeperclean