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
shuting
abb51348cf
skip inserting auto-gen annotation to podController on UPDATE admission request ( #953 )
2020-06-25 17:24:10 -07:00
shuting
7ffeb6efca
skip generate violation on pre-exist pod ( #952 )
2020-06-25 09:52:54 -07:00
shuting
06a2b246dd
Background mode only apply to running pods ( #949 )
...
* background mode process Running pod only
* update debug doc
2020-06-25 09:52:27 -07:00
shuting
da943325fe
Ignore auto-gen annotation on Pod when processing DENY rule ( #944 )
...
* ignore auto-gen annotation on Pod when processing DENY rule
* remove unused code
2020-06-24 10:26:04 -07:00
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
NoSkillGirl
6cfd4d345b
Updated error messages as per the convention (lowercase)
2020-06-21 11:52:50 +05:30
NoSkillGirl
7e2dbd87fe
Modified error messages
2020-06-21 11:48:57 +05:30
NoSkillGirl
c482459e0e
updated sanitized error
2020-06-18 13:57:32 +05:30
Jim Bugwadia
912bc3ccc4
- fix panic in log and improve CLI error reporting
2020-06-12 18:23:59 -07:00
NoSkillGirl
054a119063
simplified exit code
2020-06-09 12:55:42 +05:30
NoSkillGirl
e267757d30
Added more exit codes and update Readme
2020-06-08 17:01:56 +05:30
NoSkillGirl
2d74937bd6
Added different exit code(3) on invalid policy
2020-06-08 11:50:56 +05:30
shuting
1c5fc22aa0
Tag release 1.1.6 ( #911 )
...
* tag v1.1.6-rc5
* tag 1.1.6
2020-06-04 17:13:16 -07:00
shuting
b3a1e51a84
bug fix auto-gen annotation reported as violation ( #902 )
...
* fix auto-gen annotation reported as violation
* update log
2020-06-03 17:47:06 -07:00
Shuting Zhao
d56c1ac15f
remove debug log
2020-06-01 19:38:21 -07:00
Shuting Zhao
a1d7816c10
fix violation updates when there's no change
2020-06-01 19:37:48 -07:00
Shuting Zhao
52d45ec3c5
fix resource schema not found error
2020-06-01 19:36:01 -07:00
Jim Bugwadia
07e93e0638
Merge pull request #890 from NoSkillGirl/enhancement/multipart-yaml
...
Handling Multi YAML (Policies and Resources)
2020-06-01 10:24:29 -07:00
NoSkillGirl
230ba9db68
removing unnecessary logs
2020-06-01 18:04:16 +05:30
NoSkillGirl
83a3ae14c6
small fix
2020-06-01 17:15:23 +05:30
NoSkillGirl
64185291da
fixed issue commits
2020-06-01 16:49:40 +05:30
NoSkillGirl
0447fc300e
Handling Multi Yaml (Policies and Resources)
2020-05-29 15:32:29 +05:30
Jim Bugwadia
5cdcbec3c9
Bugfix/1.1.6 adjust resync and cleanup unused ( #884 )
...
* - support wildcards for namespaces
* do not annotate resource, unless policy is an autogen policy
* close HTTP body
* improve messages
* remove policy store
Policy store was not fully implemented and simply provided a way
to list all polices and get a policy by name, which can be done via
standard client-go interfaces.
We need to revisit and design a better PolicyStore that provides fast
lookups for matching policies based on names, namespaces, etc.
* handle wildcard namespaces in background processing
* fix unit tests 1) remove platform dependent path usage 2) remove policy store
* add test case for mutate with wildcard namespaces
* adjust all resync periods
* remove unused data fields
* add pattern for match
2020-05-27 19:51:34 -07:00
Yuvraj
5c66742f52
middelware removed ( #882 )
2020-05-27 11:08:59 -07:00
Jim Bugwadia
68c431e8f0
Merge pull request #880 from realshuting/869_auto_gen_annotation
...
fix policy violation updated without owner
2020-05-27 06:44:46 -07:00
Shuting Zhao
087f183895
fix typo
2020-05-26 23:07:48 -07:00
Shuting Zhao
139000fe3f
fix namespace lister
2020-05-26 22:26:07 -07:00
Yuvraj
74db840b25
Added readiness and liveness prob ( #874 )
...
* Added readiness and liveness prob
* typo fix
* port number fixed
* fixed the image name
2020-05-26 18:03:32 -07:00
Shuting Zhao
913f12ff9d
set ownerReference in pv update
2020-05-26 17:18:42 -07:00
Shuting Zhao
a251bda1dd
suppress violation on evicted pod
2020-05-26 16:25:11 -07:00
Shuting Zhao
7ea2930fa4
- fix violations re-create on the same resource - skip background processing if a resource is to be deleted
2020-05-26 16:25:11 -07:00
Jim Bugwadia
838d02c475
Bugfix/659 support wildcards for namespaces ( #871 )
...
* - support wildcards for namespaces
* do not annotate resource, unless policy is an autogen policy
* close HTTP body
* improve messages
* remove policy store
Policy store was not fully implemented and simply provided a way
to list all polices and get a policy by name, which can be done via
standard client-go interfaces.
We need to revisit and design a better PolicyStore that provides fast
lookups for matching policies based on names, namespaces, etc.
* handle wildcard namespaces in background processing
* fix unit tests 1) remove platform dependent path usage 2) remove policy store
* add test case for mutate with wildcard namespaces
2020-05-26 10:36:56 -07:00
Shuting Zhao
3952aa5550
remove unused code
2020-05-21 08:49:33 -07:00
Shuting Zhao
2dda3e2a42
pr fix
2020-05-21 08:29:35 -07:00
Shuting Zhao
e1bdfbce27
update log
2020-05-20 17:08:30 -07:00
Shuting Zhao
ea66d7a7b8
fix CI
2020-05-20 13:58:56 -07:00
Shuting Zhao
bda81f0b93
- fix variable scope - debug log
2020-05-20 13:43:12 -07:00
Shuting Zhao
bc981f9a11
fix 869
2020-05-20 13:42:23 -07:00
Shuting Zhao
34d05c58c2
PR fixes
2020-05-19 13:04:06 -07:00
Shuting Zhao
f0bd8eae11
clarify names
2020-05-19 12:41:13 -07:00
Shuting Zhao
df452187bf
fix CI
2020-05-19 10:32:42 -07:00
Shuting Zhao
9eb2534d63
- fix pending delete for denying deletion rule - revert timeoutHandler - update log level
2020-05-19 00:14:23 -07:00
Shuting Zhao
0670abe2d2
set log level
2020-05-18 21:16:48 -07:00
Shuting Zhao
140d638a9b
fix #838 - skip if crd has no schema defined
2020-05-18 21:02:21 -07:00
Shuting Zhao
74387d2ee4
Fix CI
2020-05-18 20:10:30 -07:00
Shuting Zhao
0e803ae532
fix DENY pending for DELETE request
2020-05-18 20:01:20 -07:00
Shuting Zhao
962b8f9865
Fix bug
2020-05-18 18:30:39 -07:00
Shuting Zhao
416f5ecc00
Merge branch 'master' into 744_deny_requests
...
# Conflicts:
# pkg/utils/util.go
# pkg/webhooks/server.go
2020-05-18 18:05:22 -07:00