Comments (5)
Hey @pankajmt
I've just gone over the readme of the plugin and go-getter, I think the following should do the trick (removing the git
header and one of the double-slash)
./conftest plugin install github.com/open-policy-agent/conftest/contrib/plugins/kubectl
ll ~/.conftest/plugins/kubectl
total 8
drwxr-xr-x 4 bseref staff 128 Apr 30 16:15 ./
drwxr-xr-x 3 bseref staff 96 Apr 30 16:15 ../
-rwxr-xr-x 1 bseref staff 1876 Apr 30 16:15 kubectl-conftest.sh*
-rw-r--r-- 1 bseref staff 368 Apr 30 16:15 plugin.yaml
from conftest.
Hey @boranx
Many thanks. That worked. Looks like the main conftest plugins page needs updating.
from conftest.
#822 - the least i could do
from conftest.
yeah, as far as I know, for the download-upload operations conftest relies on go-getter
, and sometimes there might be small ui/ux changes when the version of it's bumped-up
Feel free to propose more if there are places that need to be updated, all PRs are welcome
from conftest.
For posterity, the plugin install functionality is also protected by e2e tests: https://github.com/open-policy-agent/conftest/blob/master/tests/plugin/test.bats#L10
from conftest.
Related Issues (20)
- Add support for "azuredevops" output
- Rego policy with ExternalData Provider : undefined function external_data HOT 2
- Add support for adding built-in functions HOT 2
- Investigate generics usage in parser and engine packages HOT 2
- conftest read json file failed due to json file contains BOM HOT 3
- Rules returning a boolean (no msg) HOT 2
- parse_config not working for dockerfile HOT 2
- OPA doesn't consider built-in error fatal, but Conftest does. Can we revert the change? HOT 1
- Conftest does not output detailed summary report HOT 1
- Dependabot should update all parsers
- Implement option for custom output destinations in `output.Get()`
- Sarif Format Support HOT 2
- Has anyone used conftest in s390x environment? HOT 3
- Parser for nginx HOT 2
- Error in documentation for pulling OCI registry
- Using Conftest with OPA bundles
- Invalid parsing of ResourceQuota yaml file HOT 1
- Improper if Usage seems to miss a valid case HOT 1
- Jsonnet parser cannot handle relative imports HOT 4
- Critical vulnerability in github.com/hashicorp/go-getter: CVE-2024-3817 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conftest.