open-policy-agent / gatekeeper

🐊 Gatekeeper - Policy Controller for Kubernetes
https://open-policy-agent.github.io/gatekeeper/
Apache License 2.0
3.61k stars 740 forks source link

Show opa version badge in main, and each release doc #2181

Open ritazh opened 2 years ago

ritazh commented 2 years ago

Opa upgrade now comes from framework. Can you try latest commit in master? that is referencing framework that’s using opa v0.35 https://github.com/open-policy-agent/frameworks/pull/167/files#diff-45830b37d8fe6cfa6317672df498ec856ff48ffd48cd2537d18337e6281d6618R14

+1 on showing opa version badge in master, and perhaps for each release doc. thoughts?

Originally posted by @ritazh in https://github.com/open-policy-agent/gatekeeper/issues/1827#issuecomment-1029117290

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

ritazh commented 1 year ago

still relevant

sozercan commented 1 year ago

2888 has some additional context too

ritazh commented 1 year ago

xref: https://github.com/open-policy-agent/gatekeeper/issues/1827#issuecomment-1028719649

ritazh commented 1 year ago

Today, you have to go to the last commit for the GK release you are using, from GK go.mod check the framework commit then check framework/constraint's go.mod to see what version of opa that release is using.

jestadi0795 commented 1 year ago

+1 for showing up OPA Version being used with respective Gatekeeper release which can solve below problems.

Hope this gets addressed soon !!

salaxander commented 1 year ago

Working on getting this into the docs, but here's a map of major versions for the short term:

sozercan commented 1 year ago

As part of this issue, can we make sure that this is automated in the future?

salaxander commented 1 year ago

Yeah that's the intent :)