This repository was archived by the owner on Jul 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +41
-6
lines changed Expand file tree Collapse file tree 4 files changed +41
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
- ## [ Unreleased ]
3
+ ## 0.0.1
4
4
5
- - Initial release
5
+ * Install Open Policy Agent as an admission controller
6
+ * Deploy ` .rego ` files to the ` opa ` namespace to participate in admission control
7
+ * List policies in the Kubernetes cluster explorer without changing to the ` opa ` namespace
Original file line number Diff line number Diff line change 1
1
# Open Policy Agent for Kubernetes for VS Code
2
2
3
+ This snappily-titled extension helps you to test your Open Policy Agent policies
4
+ (` .rego ` files) in a Kubernetes development cluster. It provides the following features:
5
+
6
+ * One-click install of Open Policy Agent as an admission controller, together
7
+ with supporting configuration such as the standard 'system main' policy hook
8
+ and having it read from Kubernetes configmaps in the ` opa ` namespace
9
+ * While editing a ` .rego ` file, deploy it as a configmap in the ` opa ` namespace
10
+ where the Open Policy Agent will pick it up and start enforcing it
11
+ * View policies without needing to switch to the ` opa ` namespace and with visual
12
+ feedback on their status.
13
+
14
+ ## Notes
15
+
16
+ ** This is a very early iteration - expect some fit and finish to be missing!** For
17
+ example, you can currently see that a policy has errors but you can't see what they
18
+ are. It's all very much work in progress!
19
+
20
+ ** The deployment configuration is designed for convenience of development, not for secure deployment.**
21
+ If you're putting Open Policy Agent into production, _ design deployment strategies for production_ .
22
+ For example, you may want to deploy policies using bundles and servers rather than config maps.
23
+ And you certainly want to be conscious about permissions and roles. ** Don't use this extension
24
+ to deploy OPA to production.**
Original file line number Diff line number Diff line change 3
3
"displayName" : " Open Policy Agent for Kubernetes" ,
4
4
"description" : " Work with Open Policy Agent as a Kubernetes admission controller" ,
5
5
"version" : " 0.0.1" ,
6
+ "preview" : true ,
6
7
"publisher" : " ms-kubernetes-tools" ,
8
+ "license" : " MIT" ,
9
+ "repository" : {
10
+ "type" : " git" ,
11
+ "url" : " https://github.com/deislabs/kubernetes-opa-vscode"
12
+ },
7
13
"engines" : {
8
14
"vscode" : " ^1.40.0"
9
15
},
10
16
"categories" : [
11
17
" Other"
12
18
],
19
+ "keywords" : [
20
+ " kubernetes" ,
21
+ " open policy agent" ,
22
+ " opa"
23
+ ],
13
24
"activationEvents" : [
14
25
" onCommand:opak8s.install" ,
15
26
" onCommand:opak8s.deployRego" ,
66
77
"@types/node" : " ^8.10.25" ,
67
78
"@types/tmp" : " ^0.1.0" ,
68
79
"tslint" : " ^5.8.0" ,
69
- "typescript" : " ^2.6.1 " ,
80
+ "typescript" : " ^3.7.2 " ,
70
81
"vscode" : " ^1.1.6"
71
82
},
72
83
"extensionDependencies" : [
You can’t perform that action at this time.
0 commit comments