Commit Graph

5347 Commits

Author SHA1 Message Date
Daniel Jiang
3bb4e2c921
Merge pull request #5260 from halfa/master
Change empty_subj to fix #2920 openssl issue
2018-07-06 15:08:10 +08:00
Steven Zou
b65cc34c70 Implement a unified index.yaml entrypoint service to support namespace isolations
replace the helm package from github.com to k8s.io
implement /index.yaml service API
2018-07-05 18:07:00 +08:00
stonezdj(Daojun Zhang)
d65a7baf7e
Merge pull request #5221 from stonezdj/admin_with_ldap_group
Add settings to define admin with ldap_group_admin_dn
2018-07-05 17:48:14 +08:00
Daniel Jiang
015b3fc566
Merge pull request #5254 from ywk253100/180704_chart_db
Modify chart to support master branch
2018-07-05 16:11:47 +08:00
stonezdj
62acdb14f3 Add settings to define admin with LDAP group DN 2018-07-05 14:46:44 +08:00
Wenkai Yin
6bb2bbb3ce Modify chart to support master branch
The chart currently is using images of Harbor 1.5 which contains three databases, this commit reduce them to only one to support master branch codes.
2018-07-05 14:27:48 +08:00
stonezdj
2494a7aaab Add REST API to search LDAP by Group DN
Used to verify and search DN when adding group member to project
2018-07-05 12:55:44 +08:00
Wenkai Yin
e1000d5984
Merge pull request #5239 from ywk253100/180703_preview
Update guide of demo server
2018-07-05 10:39:22 +08:00
Daniel Jiang
e1474ac50b
Merge pull request #5242 from steven-zou/chart_repo_supporting
Implement the related handler methods of the transparent operations
2018-07-04 21:16:07 +08:00
Yan
d366134fe8
Fix bug of packaging offline installer (#5245)
The init sql script name nad path was changed by PR #5197, this
commit is to update these and log the package command to console,
make it more easy to debug in future. Also remove the action to
pull migrator as it will built each time locally.
2018-07-04 20:03:44 +08:00
Daniel Jiang
6acb866818
Merge pull request #5248 from reasonerjt/tmp-fix-clair-ubuntu-url
Workaround the Clair issue in ubuntu updater
2018-07-04 19:00:13 +08:00
Daniel Jiang
c04d99b1ab Workaround the Clair issue in ubuntu updater
This commit is a temp fix to workaround coreos/clair#562
Recompiled the code at the tip of release-2.0 branch of clair and
updated Makefile.
Once clair provides a new release, we'll need to make update in
Makefiles and Dockerfiles again to consume it.
2018-07-04 17:28:47 +08:00
Yilong Ren
15d6145f5c make/docker-compose.tpl: fix wrong mount configuration(#5208) 2018-07-04 14:12:10 +08:00
Daniel Jiang
e9f02a9476
Merge pull request #5243 from wy65701436/fix-ci-offline
Fix CI pipeline bug on packaging offline installer
2018-07-04 00:39:41 +08:00
wangyan
28a13db29a Fix CI pipeline bug on packaging offline installer 2018-07-03 08:42:26 -07:00
Steven Zou
ce4e5ac01d Implement the related handler methods of the transparent operations based on proxy
support index file
support object downloading
support health checking
support related manipulating operations except getting chart version
2018-07-03 21:36:20 +08:00
Qian Deng
9cf9faab1b
Fix images name typo on migration doc
Fix the typo of images name of migrator v 1.2
2018-07-03 21:22:04 +08:00
Wenkai Yin
797fdef8a9 Update the demo server guide
Update the guide of demo server according to the comments
2018-07-03 19:09:41 +08:00
Daniel Jiang
0033f71d29
Merge pull request #5183 from 48763/patch-1
Modify installation_guide.md
2018-07-03 18:37:28 +08:00
Daniel Jiang
a161f2c95b
Merge pull request #4965 from jouve/reg_upstream
remove unused upstream
2018-07-03 16:29:08 +08:00
yixingj
3b5681258d Harbor perview server user guide
User guide on how to use harbor preview server.
2018-07-03 16:02:57 +08:00
Steven Zou
6dfccc7dea
Merge pull request #5074 from ninjadq/ldap_search_ui
Add LDAP search UI
2018-07-03 15:30:18 +08:00
Deng, Qian
72dfdd552f Add ldap serach
1. Add group management
2. Add rewrite import user to member ui
3. Add import group to member
4. Add new items in configuration page
2018-07-03 14:00:59 +08:00
Daniel Jiang
896139ee5f
Merge pull request #5224 from ywk253100/180629_swagger
Update the swagger file
2018-07-03 11:44:51 +08:00
Daniel Jiang
cb0acbace4 Restrict the CPU usage of Clair (#5217)
This commit fixes #5072
Due to an issue in bzr, Clair container may consume a lot of CPU
resource while updating the vuln data.  This commit mitigates the impact
by setting the cpu_quota of clair container. (default value of
cpu_period is 100000 in v2 docker-compose template)
2018-07-03 11:23:56 +08:00
Daniel Jiang
b02d100fb5
Merge pull request #5234 from steven-zou/chart_repo_supporting
Define the related handlers to handler the requests of chart server/repo
2018-07-03 11:05:11 +08:00
Qian Deng
98f01f4106
Merge pull request #5203 from ninjadq/update_migrator_1_6_0
Update migrator 1 6 0
2018-07-02 22:20:10 -04:00
Deng, Qian
edbe2fe620 Update migrator to 1 6 0
1. Add new alembic_pg folder for postgres
2. Add migration file for 1.6.0
3. Update version to 1.6.0
4. update migrator dockerfile
2018-07-02 21:23:47 +08:00
Steven Zou
54a0d10994 Define the related handlers to handler the requests of chart server/repo
add chartserver directory to put chart server code
add controller to coordinate the flow
add base/repo/manipulation handlers to handle requests
add operator to parse more details of chart version
call dep ensure
2018-07-02 19:34:04 +08:00
Wenkai Yin
e705224b3f
Merge pull request #5225 from ywk253100/180629_chart
Add rewrite-target annotation to ingress rule
2018-07-02 11:25:55 +08:00
Daniel Jiang
1afb09b6cf
Merge pull request #5194 from ywk253100/180626_search
Fix bug in search API
2018-06-29 21:13:09 +08:00
Qian Deng
3ba302622c
Merge pull request #5213 from vmware/replication_by_label_ui
Label filter UI for replication
2018-06-29 07:44:26 -04:00
Wenkai Yin
98c09766f3
Merge pull request #5176 from silenceshell/patch-1
SERVER_ID should be SERVER_IP
2018-06-29 18:55:24 +08:00
Wenkai Yin
2baee7a552 Update the swagger file
Fix #5168 by correcting the types of properties used in ProjectMetadata
2018-06-29 17:32:08 +08:00
Wenkai Yin
877d92b5ad Add rewrite-target annotation to ingress rule
The annotation prefix changes in a specific version of nginx controller, add the two kinds of annotation for rewrite-target to the rule to make it works.
2018-06-29 15:17:28 +08:00
sigsbee
889b36a944
Add data verify robot case after upgrade (#5207)
Add data verify e2e case after upgrade
2018-06-29 15:01:26 +08:00
Wenkai Yin
de7b10c9f3
Merge pull request #5196 from jkroepke/ui-ingress
Helm: Do not mount secret if ingress is disabled
2018-06-29 13:05:10 +08:00
Daniel Jiang
aef3213dfa
Merge pull request #5190 from stonezdj/reload_config
Fix issue that harbor tile can not save customized settings
2018-06-29 13:04:36 +08:00
Wenkai Yin
5552581c0c
Merge pull request #5199 from ywk253100/180621
Update docs
2018-06-29 12:52:55 +08:00
Daniel Jiang
173c8db295
Merge pull request #4930 from sigsbee/upgradetest
Add upgrade test tips
2018-06-29 11:20:07 +08:00
sigsbee
673c1dac01 Add upgrade test scripts (#5119)
Add upgrade test data generate script and example data
2018-06-29 10:09:10 +08:00
Wenkai Yin
aaa2cc1591 Update docs
Replace the email address with image to avoid junk emails
2018-06-29 10:08:27 +08:00
Daniel Jiang
c2d1eb49aa
Merge pull request #5209 from vmware/update-partners
Update partners.md
2018-06-29 08:32:32 +08:00
Daniel Jiang
1df7acf0d8
Merge pull request #5210 from vmware/arch-diagram
New architecture diagram
2018-06-29 08:28:29 +08:00
James
5d31dd5b57
New architecture diagram
Uploading new architecture diagram for documentation
2018-06-28 15:13:39 -04:00
James
dd0fc4a703
Update partners.md
Tweak content of page, including some grammatical errors. Removed reference to beego.
2018-06-28 15:05:52 -04:00
Daniel Jiang
c07f259c10
Merge pull request #5197 from reasonerjt/harbor-db-creation
Initialise Harbor DB schema in Harbor UI/adminserver container
2018-06-28 20:02:01 +08:00
myufei
c29635b9b0 Add upgrade test tips
Add tips and information before and after upgrade for Harbor
upgrade test
2018-06-28 19:01:15 +08:00
Daniel Jiang
c9b1962b1e Initialise Harbor DB schema in Harbor UI/adminserver container
This commit fixes #5040, the harbor-db image will only contain empty
databases, and harbor ui container will use migrate tool to run initial
SQL scripts to do initialization.  This is helpful for the case to
configure Harbor against external DB or DBaaS like RDS for HA deployment
However, this change will results some confusion as there are two tables
to track schema versions have been using alembic for migration, for this
release we'll try to use alembic to mock a `migration` table during
upgrade so the migrator will be bypassed, in future we'll consider to
consolidate to the golang based migrator.
Another issue is that the UI and adminserver containers will access DB
after start up in different congurations, can't ensure the sequence, so
both of them will try to update the schema when started up.
2018-06-28 16:22:53 +08:00
stonezdj
72e9b22e10 Fix issue that harbor tile can not save customized settings 2018-06-28 16:20:10 +08:00