Shuting Zhao
51e2b0d978
change severity fields to lower case
2020-11-03 14:08:45 -08:00
Shuting Zhao
2abfff1f06
remove violation CRD from manifest
2020-11-02 17:08:35 -08:00
Shuting Zhao
153516b0d6
move reportChangeRequest to kyverno.io/v1alpha1
2020-10-30 19:26:53 -07:00
Shuting Zhao
e5c5cb39a0
update summary.* to lower case
2020-10-30 18:01:46 -07:00
Shuting Zhao
ba4b36153d
rename apiversion from policy.kubernetes.io to policy.k8s.io
2020-10-30 17:33:20 -07:00
Shuting Zhao
53139db74f
- rename reportRequest to reportChangeRequest; -rename clusterReportRequest to clusterReportChangeRequest
2020-10-28 15:36:50 -07:00
Shuting Zhao
63a8d89c8d
- update report summary to optional; - generate clusterPolicyReport; - remove reportRequests after merged to report
2020-10-27 18:28:30 -07:00
Shuting Zhao
32d834ea26
- update json tag of report summary; - update definition manifests; - fix dclient creation
2020-10-26 16:08:25 -07:00
Shuting Zhao
2364ff1407
add reportRequest / clusterReportRequest
2020-10-22 16:15:43 -07:00
Shuting Zhao
25409e42ea
- remove job controller; - remove in-memory configmap; - clean up kustomize manifest
2020-10-21 17:56:17 -07:00
Shuting Zhao
5b4afa85e2
add short names
2020-10-14 19:23:08 -07:00
evalsocket
d6b0af986e
tested policy report
2020-09-16 06:56:38 -07:00
evalsocket
6aa9876f9f
cronjob added
2020-09-15 11:20:08 -07:00
evalsocket
6a0a5132b5
resolve conflict
2020-09-11 05:16:31 -07:00
Yuvraj
b7524467a3
Reconcile Generate request on policy update ( #1096 )
...
* policy report crd added
* added namespaced rule
* remove extra field from crd
* revert crd change
* remove policy report chnages
* remove policy report chnages
* remove policy report chnages
* remove policy report chnages
* added logic for gr
* revert changes
* fixed generate rules
* fixed generate rules
* fixed generate rules
* fixed generate rules
* remove extra logs
* remove extra logs
* fixed e2e test
* remove extra logs
* crd issue resolved
* added check for sync
* add labels update
* add label update
* added permission to role
* roles added to helm
* roles added to helm
2020-09-03 14:34:23 -07:00
Yuvraj
09faf48b35
policy report removed
2020-09-03 22:35:34 +05:30
Yuvraj
e43154ea1c
merge conflict resolve
2020-09-02 14:17:33 +05:30
Michael Barrientos
b067f41d02
Replace Policy CRD AnyValue fields with empty dict ( #1086 )
...
/kind cleanup
\## Proposed change
This implements the same change as #1047 , except for the new Policy CRD instead of the ClusterPolicy CRD, which apparently did not get those updates before merging.
When deploying Kyverno using Argo CD, we get a persistent false diff for the Policy custom resource definition (the definition itself, not instances of Policy), because Kubernetes converts the invalid AnyValue: {} property types to just an empty dict {}. Since the Kubernetes server makes this change to {} unilaterally after applying, when a diffing tool like Argo CD compares it against the YAML manifest, each such instance of AnyValue appears as a diff.
I know that since AnyValue is not part of the official OpenAPI V3 schema, and that when you run kubectl get crd policies.kyverno.io -o yaml the status message shows Kubernetes complaining about "Required value: must not be empty for specified object fields" for all of these fields. In theory the correct solution would be to somehow provide a full schema, but I know this can be tricky for these data/anyPattern/patches types, but at the minimum, I would like to get Argo CD to believe that there are no changes that need to be applied.
Since these fields are already silently turned into {} by Kubernetes, this should have no functionality change on existing code/deployments.
2020-08-26 11:11:36 -07:00
Yuvraj
251521a77a
policy report added
2020-08-26 18:50:38 +05:30
Yuvraj
875f9716e8
policy report crd added
2020-08-26 00:03:39 +05:30
Mohan B E
f60deecdce
Feature/namespaced policy 280 ( #1058 )
...
* namespaced policy crd and cache
* modified main.go
* removed kyverno
* implemented policy violation generator for namespaced policy on audit
* modified cache
* added validation for cluster resource types
* install.yaml
* install.yaml
* removed namespaces from crd and refactored code
* modified NamespacePolicy to Policy
* added ClusterRole aggregate for policies
* modified clusterrole
2020-08-19 09:07:23 -07:00
Pooja Singh
5a68653749
Supporting annotations in match/exclude ( #1045 )
...
* Supporting annotations in match/exclude filters
* updated readme
* small fix
2020-08-17 17:12:27 -07:00
Michael Barrientos
d2ac5b829b
Replace CRD AnyValue fields with empty dict ( #1047 )
2020-08-13 11:57:35 -07:00
Mohan B E
a14828246d
Feature/api version 852 ( #1028 )
...
* apiVersion support for generate
* added apiVersion to crds
2020-08-07 09:47:33 +05:30
shuting
39de46fe39
983 kustomize support ( #1026 )
...
* prototype - strategic merge patch
* add end to end test
* add engine strategic merge patch support
* set webhook reinvocationPolicy to IfNeeded
* refactor engine mutate code
* support JMESPath in strategic merge patch
* implement patchesJson6902
* update doc
* resolve pr comments
2020-08-05 09:11:23 -07:00
NoSkillGirl
b589169b5e
Added in-notin operator
2020-06-26 12:48:45 +05:30
NoSkillGirl
e8c4050d49
Added In and NotIn Operators
2020-06-26 12:48:12 +05:30
Yuvraj
01724d63cf
Synchronize data for generated resources ( #933 )
...
* Generate request added fro update resource
* synchronize flag added
* documentation added for keeping resource synchronized
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-06-23 07:19:43 +05:30
Yuvraj
4d9226351f
replace crd with latest crd
2020-06-05 13:49:53 -07:00
Yuvraj
d96f3e6c89
remove duplicate crd changes
2020-06-05 13:42:53 -07:00