Commit Graph

58 Commits

Author SHA1 Message Date
Jeff Knurek
81430ffbb2 HELM: also add option for nodeSelector 2018-12-10 11:42:48 +01:00
Jeff Knurek
6a94d8ccd2 HELM: add option for tolerations 2018-12-10 11:42:16 +01:00
Bryan Rosander
00db964497
Pinning helm postgres dep to the working 1.0.0 2018-10-31 10:56:17 -04:00
Fabian Hinz
690d26edba Helm: change postgresql connection string format in configmap template
The PostgreSQL connection string in the configmap template for helm was
changed to a key-value format to reflect the currently used format in
the sample config file

Fixes #561
2018-08-13 15:24:33 +02:00
Roberto Soares
bc6f37f1ae Helm Chart: Use Secret for config file. Fix some minor issues
- Config file for Clair now is inside a Secret. Fixes #581.

- Update helper template to use latest Helm conventions for "name" and
"fullname".

- Update labels to use the recommended labels by Helm. See:
https://docs.helm.sh/chart_best_practices/#standard-labels

- Remove service.name from values file because it is not used.
Service discovery for parent charts can be made by using the
"clair.fullname" template since template functions are shared
between charts.
2018-08-08 14:54:35 +02:00
Bryan Rosander
f3e156a46e
Using alpine postgres image 2018-08-03 11:19:48 -04:00
Tomer H
e649f8f149
Update values.yaml
this is supposed to solve the below issue:

https://github.com/coreos/clair/issues/414
2018-04-02 19:37:02 +03:00
Sida Chen
7a06a7a2b4 Helm: Fixed a typo in maintainers field.
Maintainers field was incorrectly listing email as one item.
2018-03-07 08:47:54 -08:00
Diederik van der Boor
e454314beb Cleanup and improve chart values
- be more accurate in memory requests, so chair is scheduled on a host
  that has that space available.
- add an explicit mention for the postgresql.enabled flag
2018-02-12 11:17:28 +01:00
Diederik van der Boor
64c2853e75 Fix helm chart to generate config.postgresURI
The configuration was merged with the comment line above due to usage of
the {{- ...  -}} construct.
2018-02-09 13:26:38 +01:00
Marcelo Grebois
3617b7a126 Adding back postgresURI and correcting comments 2017-09-12 23:29:21 +02:00
Marcelo Grebois
79510232b8 Adding postgres to the chart so it can be used without dependecies. 2017-09-12 15:48:27 +02:00
Bruno Miguel Custodio
13be17a690
contrib/helm/clair: fix the ingress template
Make 'servicePort' reference 'externalApiPort' instead of
'externalPort'.
2017-09-06 16:11:53 +01:00
Daniel O'Brien
009e2457f2 adding insecure TLS to Helm chart 2017-08-24 15:22:56 -04:00
Jimmy Zelinskie
76b9f8ea05 contrib: replace old k8s manifests with helm 2017-08-21 16:06:30 -04:00
Sida Chen
dc8704a961 Merge branch 'master' into ancestry_ 2017-08-18 18:25:54 -04:00
Sida Chen
0151dbaef8 API: change api port to api addr, rename RunV2 to Run.
Fixes #446
2017-08-18 18:24:34 -04:00
Jimmy Zelinskie
ac1cdd03c9 contrib: move grafana and compose here 2017-08-17 16:11:11 -04:00
Simon Westcott
303bc9800a Updated Kubernetes config with new db connection string config 2017-06-01 23:51:46 +01:00
Jimmy Zelinskie
5540d02bc2 contrib: delete unsupported tools
These tools are either unsupported or should be supported outside of the
Clair repository.
2017-05-04 17:11:36 -04:00
Josue Diaz
f3840f30b9
contrib: Revert "Merge pull request #367 from jzelinskie/analyze-layers-v2"
This reverts commit e639367a30, reversing
changes made to f3848d9726. Issue involved
the docker history command providing missing fs layers that were not in
the saved image. Revert commit to using the manifest file again.
2017-04-28 10:52:31 -04:00
Jimmy Zelinskie
d76c549dfb contrib: add missing :=
I accidentally didn't push this commit to #367.
Fixes #368.
2017-04-20 13:39:08 -04:00
Jimmy Zelinskie
e772be5f6f contrib: only extract layers from history
This tool was written before v2 existed and deduplicated and listed
layers out of order in their manifests.
2017-04-19 16:23:23 -04:00
ruokai.lai
121611834f make it one sentence 2017-03-07 17:24:15 +11:00
ruokai.lai
cca55ed764 add in a sum for total errors. 0 return 1 when there are any errors, so that it can break our CI pipeline when needed 2017-03-07 12:11:20 +11:00
Quentin Machu
ff3c6eccc8 contrib: Catch signals to delete tmp folder in local-analyze-images
- Create the temporary folder earlier in the app (main instead of save)
- Catch SIGINT/SIGKILL signals to delete the temporary folder and exit
2016-04-25 16:38:17 -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
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
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
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
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
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
910288fc97 contrib: Add minimum severity support to analyze-local-images 2016-03-17 11:41: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
yangshukui
6915f6c5c1 fix allowhost
Signed-off-by: yangshukui <yangshukui@huawei.com>
2016-03-08 14:41:14 +08:00
Jimmy Zelinskie
500fc4e407 various: gofmt -s 2016-02-24 19:29:36 -05:00
Jimmy Zelinskie
001c0a73d3 contrib: adapt analyze-local-images for new API 2016-02-24 16:43:19 -05:00
liangchenye
9bad9be19b update analyze-local-image with new API
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-24 16:39:25 -05:00
Matthias Nüßler
2300ae9ad7 Add output for package causing vulnerability
Include the name of package that caused the vulnerability in the
output.
2016-02-18 15:03:28 +01:00
liangchenye
fee0bb5e49 contrib: load image history from 'manifest.json' first due to
docker 1.10 changes.

Fixes #69

Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-14 14:15:07 +08:00
Quentin Machu
e834301941 Merge pull request #49 from liangchenye/master
Add DataDetector to support ACI and other layout format
2016-01-07 10:44:40 -05:00
David Xia
f2009513d5 Fix typo in doc 2016-01-04 13:14:12 -05:00
Liang Chenye
4b11491067 add ImageFormat to worker_test and programs under contrib
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 21:01:22 -08:00
Lei Jitang
5f876d20a6 Update README.md of analyze_local_image
The latest Clair use config file for configuration, the command line to
run Clair instance is outdate in the README.md

Signed-off-by: Lei Jitang <leijitang@huawei.com>
2015-12-14 22:35:38 -05:00
Quentin Machu
941a10cc2b Merge pull request #35 from mrqwer88/check_openvz_mirror_with_clair
add tool for check openvz mirrors with clair to contrib
2015-12-04 18:04:04 -05:00
Sergei A Mamonov
75aff0382a contrib: check-openvz-mirror-with-clair fix license 2015-11-30 23:11:18 +03:00