Skip to content

new(gatekeeper): OPA Gatekeeper gator CLI (CNCF graduated)#13140

Open
tannevaled wants to merge 4 commits into
pkgxdev:mainfrom
tannevaled:new/gatekeeper
Open

new(gatekeeper): OPA Gatekeeper gator CLI (CNCF graduated)#13140
tannevaled wants to merge 4 commits into
pkgxdev:mainfrom
tannevaled:new/gatekeeper

Conversation

@tannevaled
Copy link
Copy Markdown
Contributor

Summary

  • Packages 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; the gator suite (verify, test, expand, sync, policy, bench) is what's useful on a developer workstation.
  • OPA Gatekeeper is a CNCF graduated project and the constraint-framework companion to openpolicyagent.org/opa which is already in pantry.
  • Built from source via go build ./cmd/gator with the upstream version ldflag (github.com/open-policy-agent/gatekeeper/v3/pkg/version.Version) — same path used by the upstream Makefile and by the Homebrew gator formula.

Test plan

  • bk build github.com/open-policy-agent/gatekeeper succeeds on darwin/aarch64
  • bk test github.com/open-policy-agent/gatekeeper succeeds (gator --version prints the pinned tag)
  • bk audit github.com/open-policy-agent/gatekeeper clean
  • CI: linux/x86-64, linux/aarch64, darwin/x86-64, darwin/aarch64

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant