Commit Graph

738 Commits

Author SHA1 Message Date
He Weiwei
e6ea40c04c
docs(swagger): add Products tag for quota APIs (#8937)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-04 16:34:34 +08:00
wang yan
8e3d4cdc90 add harbor components version and gosec checking in drone ci
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-03 14:46:25 +08:00
DQ
aef93af21f Fix docker-compose version to 1.18.0
Signed-off-by: DQ <dengq@vmware.com>
2019-09-02 18:37:42 +08:00
DQ
377739204b Update config file names
Signed-off-by: DQ <dengq@vmware.com>
2019-09-02 18:19:06 +08:00
Daniel Jiang
6f0b376d07
Merge pull request #7913 from torubylist/master
fix small typo
2019-09-01 17:24:09 +08:00
Daniel Jiang
6098460b68
Merge pull request #8850 from ninjadq/update_migration_doc
Update migration doc
2019-08-28 12:53:31 +08:00
Qian Deng
8e5ea7bdc5
Merge pull request #8395 from alexander-lloyd/master
Fix typo in https configuration docs
2019-08-27 18:29:26 +08:00
Qian Deng
ea33561d95
Merge pull request #8747 from 928234269/patch1
fixt typo "an user" to "a user"
2019-08-27 18:26:11 +08:00
DQ
098f3e6da6 Update migration doc
in version 1.9, the input file should be yaml format

Signed-off-by: DQ <dengq@vmware.com>
2019-08-27 15:36:11 +08:00
wang yan
f343b2ec45 Revise quota errors to make it more readable
1, fix #8802, update the error formet
2, fix #8807, raise the real retag error to UI
3, fix #8832, raise the real chart error to chart client & ut

Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-26 17:00:31 +08:00
Wenkai Yin(尹文开)
a9d77f5c2c
Merge pull request #8589 from ninjadq/upgrade_docker-compose_checker
Update docker-compose checker
2019-08-22 20:00:42 +08:00
Daniel Jiang
7f7e2a8106 Remove 401 error for HEAD /projects
Fixes #7544

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-21 15:59:25 +08:00
stonezdj(Daojun Zhang)
962d480d79
Merge pull request #8516 from thebouv/patch-1
Fixes small typo in manage_role_by_ldap_group docs
2019-08-21 15:18:55 +08:00
Wang Yan
6d663a88e3
Merge pull request #8634 from sandhose/fix-swagger-spec
Fix the swagger API definition
2019-08-21 13:28:05 +08:00
928234269
7a4fde5ec9
fixt typo "an user" to "a user"
Signed-off-by: 928234269 <longfei.shang@daocloud.io>
2019-08-21 10:20:35 +08:00
Daniel Jiang
747bf849d2
Merge pull request #8670 from reasonerjt/proj-cve-wl-apitest
API test for project level CVE whitelist
2019-08-16 18:17:26 +08:00
wang yan
6e11ecc6fc Update codes per review comments
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-16 14:58:52 +08:00
Daniel Jiang
022d4e6ae8
Merge pull request #7462 from cd1989/enable-tags-detail-param
List simple tags when detail set to false
2019-08-16 14:25:29 +08:00
Daniel Jiang
e4a78ba039 API test for project level CVE whitelist
This commit update test case to cover project level CVE whitelist.
It also fixes the swagger doc to add missing attributes

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-15 11:37:22 +08:00
Daniel Jiang
a545b460ed
Merge pull request #8642 from reasonerjt/swagger-doc-update
Fix issue in API swagger doc
2019-08-14 14:23:59 +08:00
stonezdj(Daojun Zhang)
1bfba278f2
Merge pull request #8565 from reasonerjt/update-gc-api-doc
Update the swagger doc for GC API
2019-08-13 10:34:38 +08:00
Daniel Jiang
50875593ba Fix issue in API swagger doc
This commit add `reuse_sys_cve_whitelist` to project metadata, and fixes
a few issues in APIs related webhook.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-13 01:05:24 +08:00
cd1989
da370bb331 List simple tags when detail set to false
Signed-off-by: cd1989 <chende@caicloud.io>
2019-08-12 15:16:19 +08:00
Quentin Gliech
817587741f
Fix the swagger API definition
Signed-off-by: Quentin Gliech <quentingliech@gmail.com>
2019-08-12 08:55:25 +02:00
He Weiwei
c1cea42089 feat(quota,middleware): enable or disable quota per project by config
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-08-12 00:02:26 +00:00
DQ
131d26c0f8 Docker compose check function need updated to 1.23.0+
Signed-off-by: DQ <dengq@vmware.com>
2019-08-08 14:22:03 +08:00
guanxiatao
e7fafd1941 webhook policy, job, event support
Signed-off-by: guanxiatao <guanxiatao@corp.netease.com>
2019-08-07 20:30:26 +08:00
Qian Deng
70303bcf89
Merge pull request #8470 from dzzg:patch-2
fix some log typos in migration_guide.md
2019-08-07 15:26:57 +08:00
Daniel Jiang
6554bf4241 Update the swagger doc for GC API
This commit update the swagger doc to document how to trigger an "admin
job" such as "GC" to make it execute right away.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-06 00:36:05 +08:00
stonezdj
35a49568ce Merge user roles and group roles
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-08-05 15:10:06 +08:00
Anthony Bouvier
b3a24fd7fa Fixes small typo in manage_role_by_ldap_group docs
Signed-off-by: Anthony Bouvier <thebouv@gmail.com>
2019-07-31 15:31:47 -04:00
Jesse Hu
fb13d4e080 Remove unneccessary certificate options for Helm CLI
The --cert-file and --key-file options for Helm CLI
are used to identify HTTPS client, i.e. the helm CLI.
It's not mandantory and usually not needed. Most of
the users don't know how to get these two files.

Signed-off-by: Jesse Hu <huh@vmware.com>
2019-07-30 13:16:35 +08:00
dzzg
6726454060 fix some log typos in migration_guide.md
Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
2019-07-29 12:50:42 +00:00
He Weiwei
e625f2aa11 feat(quota,api): APIs for quotas
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-07-25 13:40:26 +08:00
Alex Lloyd
3be997d301 fix typo in https configuration docs
Signed-off-by: Alex Lloyd <axl639@student.bham.ac.uk>
2019-07-24 16:56:25 +01:00
He Weiwei
ce58c58c01 feat(quota,api): quota support for create project API
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-07-24 01:02:51 +08:00
Daniel Jiang
4f00c0e227 Fix error in swagger doc for ping OIDC API
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-22 12:52:28 +08:00
Daniel Jiang
96e2e0b145 Add API to ping OIDC endpoint
This commit adds an API to help admin verify the OIDC endpoint is a
valid one.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-18 19:32:12 +08:00
Wenkai Yin(尹文开)
a64e089773
Merge pull request #8210 from stonezdj/http_group_dao2
Add HTTP group support
2019-07-17 15:22:36 +08:00
stonezdj
bb2ae7c093 Add HTTP group feature
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-07-16 15:38:46 +08:00
Daniel Jiang
8f5f0031c7 Enable project level CVE whitelist
This commit update the project API to support "reuse_sys_cve_whitelist"
setting in project metadata and "cve_whitelist" in project request.
Also modify the interceptor to support project level CVE whitelist if
the reuse flag is false.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-08 18:55:54 +08:00
Wenkai Yin(尹文开)
a5b03fdf52
Merge pull request #8156 from markpeek/markpeek-compile-docs-goversion
Reflect change to golang:1.12.5 in the docs
2019-07-03 10:30:18 +08:00
stonezdj(Daojun Zhang)
07b358eff9
Merge pull request #8120 from stonezdj/update_ldap_config_doc
Update LDAP group documents
2019-07-02 13:07:40 +08:00
Mark Peek
765785fd7f Reflect change to golang:1.12.5 in the docs
Signed-off-by: Mark Peek <markpeek@vmware.com>
2019-06-26 14:40:21 -07:00
Daniel Jiang
4aca812ff2 API for system level vulnerability whitelist
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-06-26 23:35:40 +08:00
Qian Deng
b55f403679
Merge pull request #7894 from ninjadq/update_doc_4_https
Update doc for configure https
2019-06-24 14:52:12 +08:00
stonezdj
898cc6c66b Update LDAP group documents
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-06-21 18:41:43 +08:00
Steven Zou
9324849027
Merge pull request #7927 from maxfunke/patch-2
format h2
2019-06-17 11:01:43 +08:00
Steven Zou
3ce271dad0
Merge pull request #8001 from hainingzhang/adopter
Update readme
2019-06-12 12:26:34 +08:00
Steven Zou
aa439b8101
Merge pull request #6783 from protochron/fix_swagger_chartrepo
Fix Swagger client generation for a few chartrepo endpoints
2019-06-11 16:32:13 +08:00