Commit Graph

655 Commits

Author SHA1 Message Date
Quentin Machu
87f28fc3af Merge pull request #137 from coreos/fix_k8s
README: Fix Kubernetes instructions
2016-04-11 15:21:06 -04:00
Quentin Machu
4ab49ee0a0 README: Fix Kubernetes instructions 2016-04-11 13:51:20 -04:00
Quentin Machu
f0642bb47f Merge pull request #126 from harsha-y/master
utils: fix typo in errors.go
2016-03-26 01:12:51 -04:00
Harsha Yalamanchili
ed1a2b6ffd fix typo in errors.go 2016-03-25 16:40:26 -07:00
Jimmy Zelinskie
1a695231c6 Merge pull request #118 from coreos/cleanup_contrib
contrib: Use `return` instead of `os.Exit(1)` in analyze-local-images
2016-03-25 14:34:22 -04:00
Quentin Machu
21e7300903 Merge pull request #123 from coreos/contrib_fix_deadlink
contrib: Fix dead link from analyze-local-images' README
2016-03-25 13:07:22 -04:00
Quentin Machu
55e9c0d854 contrib: Fix dead link from analyze-local-images' README 2016-03-25 12:13:12 -04:00
Quentin Machu
1040dbbff9 contrib: Use return instead of os.Exit(1) in analyze-local-images
In order to cleanup properly the allocated resources (`defer`).

Fixes #117
2016-03-24 15:16:46 -04:00
Jimmy Zelinskie
74d1f7fdd3 Merge pull request #116 from BWITS/master
run clair container in background
2016-03-24 14:54:56 -04:00
Bill Wang
b6fc2c02f3 run clair container in background 2016-03-24 00:04:33 +11:00
Jimmy Zelinskie
2121e76f98 Merge pull request #110 from jzelinskie/config-fixes
misc config improvements
2016-03-18 17:27:20 -04:00
Jimmy Zelinskie
4f98de6d8a Merge pull request #111 from jzelinskie/dockerfile-update
dockerfile: update deps and move to Go 1.6
2016-03-18 17:27:04 -04:00
Jimmy Zelinskie
8918f40599 dockerfile: update deps and move to Go 1.6 2016-03-18 16:26:06 -04:00
Jimmy Zelinskie
7ca9127bbe main: default config to /etc/clair/config.yml 2016-03-18 16:07:35 -04:00
Jimmy Zelinskie
30055af03e config: fallover correctly to default config 2016-03-18 16:06:53 -04:00
Brandon Philips
6883cb9b01 Merge pull request #108 from philips/add-k8s-contrib
README: add instructions for kubernetes
2016-03-18 17:37:49 +00:00
Brandon Philips
9ce0956f1a README: add instructions for kubernetes
Add a quick and easy way to run this on top of kubernetes. It isn't
production ready but gives people a starting point.
2016-03-18 10:37:24 -07:00
Jimmy Zelinskie
aef5f9dde4 Merge pull request #107 from Quentin-M/reduce_logo
README: Reduce logo size
2016-03-18 12:55:28 -04:00
Quentin Machu
e72f0e6923 README: Reduce logo size 2016-03-18 12:51:44 -04:00
Jimmy Zelinskie
52942dfc16 Merge pull request #106 from Quentin-M/logo
README: Add logo
2016-03-18 12:48:07 -04:00
Quentin Machu
79ba99bbea database: Fix invalid error message 2016-03-18 12:25:01 -04:00
Quentin Machu
9573acbc1b README: Add logo 2016-03-18 12:06:23 -04:00
Quentin Machu
093107c6d8 Merge pull request #105 from coreos/crtrb_forcecolor
contrib: Add a ability to force colored output in analyze-local-images
2016-03-17 19:27:58 -04:00
Quentin Machu
251df954ce contrib: Add a ability to force colored output in analyze-local-images
Just like `ls`, this commit introduces the ability to specify `-color
always` or `-color never` to force colorization, regardless of whether
the TTY is a terminal or not.
2016-03-17 19:19:29 -04:00
Quentin Machu
e4749f4e53 Merge pull request #104 from coreos/ctrb_minseverity
Pretty up analyze-local-image
2016-03-17 17:45:30 -04:00
Quentin Machu
f024576223 contrib: Add vendors to analyze-local-images 2016-03-17 15:53:33 -04:00
Joseph Schorr
80ddc7f949 contrib: Pretty up analyze-local-images 2016-03-17 15:53:16 -04:00
Quentin Machu
c89a36f824 Merge pull request #103 from jzelinskie/fix-config
config: fix default fallback
2016-03-17 15:34:54 -04:00
Jimmy Zelinskie
20af787437 config: fix default fallback 2016-03-17 15:17:18 -04:00
Quentin Machu
e34171025d contrib: Add colors / Modify spacing in the analyze-local-images's output 2016-03-17 13:27:58 -04:00
Quentin Machu
93ffc5a1e5 contrib: Show feature line only if there's a vuln in analyze-local-images 2016-03-17 13:27:58 -04:00
Quentin Machu
19b730ea67 Merge pull request #101 from Quentin-M/ctrb_minseverity
contrib: Add minimum severity support to analyze-local-images
2016-03-17 12:37:35 -04:00
Quentin Machu
910288fc97 contrib: Add minimum severity support to analyze-local-images 2016-03-17 11:41:00 -04:00
Jimmy Zelinskie
d73cfd116d Merge pull request #100 from jzelinskie/namespaces
api/v1: create namespace type
2016-03-16 15:35:00 -04:00
Jimmy Zelinskie
68250f392b api/v1: create namespace type
This change creates a struct type for namespaces rather than using a
string. This enables us to extend namespaces in the future to contain
metadata. This change also required renaming other field references of
namespaces to "NamespaceName".

Fixes #99
2016-03-16 15:28:59 -04:00
Quentin Machu
f14e4de4d8 api: fix anchor link in docs 2016-03-15 12:46:56 -04:00
Quentin Machu
4b6c5893bb Merge pull request #96 from jzelinskie/rootyamlkey
config: add top-level YAML namespace 'clair'
2016-03-09 16:30:37 -05:00
Quentin Machu
81363b4411 Merge pull request #85 from keloyang/allowHost
Allow host
2016-03-09 16:28:23 -05:00
Jimmy Zelinskie
4fc32d2271 config: add top-level YAML namespace 'clair'
This enables Clair to use YAML configuration files that contain more
than just a Clair configuration.

Fixes #95.
2016-03-09 15:19:05 -05:00
Jimmy Zelinskie
f6ba17dfc7 README: Update Docker Compose instructions 2016-03-09 12:20:20 -05:00
Jimmy Zelinskie
1c5a7a4667 Merge pull request #94 from unageanu/support-docker-compose
Dockerfile: Add docker-compose.yml
2016-03-09 12:09:07 -05:00
unageanu
0cd7f719a7 update docker-compose.yml. 2016-03-09 16:56:20 +09:00
unageanu
80f150f93b Dckerfile: Add docker-compose.yml 2016-03-09 16:45:47 +09:00
Jimmy Zelinskie
363cde29f4 psql: add debug message for duplicate layers 2016-03-08 14:39:53 -05:00
Quentin Machu
7bea9cbe45 Merge pull request #82 from liangchenye/getvulns
*: list vulnerabilities by namespace
2016-03-08 02:28:28 -05:00
yangshukui
6915f6c5c1 fix allowhost
Signed-off-by: yangshukui <yangshukui@huawei.com>
2016-03-08 14:41:14 +08:00
liangchenye
1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-03-08 11:48:52 +08:00
Quentin Machu
68d0369128 Merge pull request #91 from Quentin-M/fix_pprof
cmd/clair: fix pprof
2016-03-07 16:49:26 -05:00
Quentin Machu
19e9d1234e clair: catch both SIGINT and SIGTERM for graceful shutdown 2016-03-07 16:38:10 -05:00
Quentin Machu
09dda9bfd7 cmd/clair: fix pprof 2016-03-07 16:24:25 -05:00