Commit Graph

5099 Commits

Author SHA1 Message Date
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
Jan-Otto Kröpke
ba36dad54c Do not mount secret if ingress is disabled 2018-06-27 22:49:17 +02:00
mricher
ee60eaec16
Change empty_subj to fix openssl issue 2018-06-27 16:50:26 +02:00
Wenkai Yin
982760a132 Fix bug in search API
Refactor the logic of search API to fix bug mentioned in issue #5156 and #3838
2018-06-27 12:51:08 +08:00
sigsbee
7d6f8f94c4
Change create project verify method (#5184)
Update create project keyword to avoid created project on the second page caused verify fail
2018-06-27 11:27:03 +08:00
James
7bccb7b12a
Merge pull request #5187 from vmware/update-registry-landscape
Updated registry_landscape.md
2018-06-26 14:17:03 -04:00
Daniel Jiang
a784766167
Merge pull request #5180 from jkroepke/disable-ingress-option
Helm: Options to disable ingress objects
2018-06-26 20:44:59 +08:00
Jan-Otto Kröpke
668b2625e3 Options to disable ingress objects 2018-06-26 09:43:35 +02:00
Wenkai Yin
dd4c565aff
Merge pull request #5185 from reasonerjt/helm-chart-ca-download
Enable CA cert download on Chart deployment
2018-06-26 10:35:10 +08:00
Wenkai Yin
e51d6cc707
Merge pull request #5177 from ywk253100/180622_ingress_rule
Update ingress rule for Harbor chart
2018-06-26 10:29:08 +08:00
James
88941810ae
Updated registry_landscape.md
Simplified and tweaked registry landscape table.
2018-06-25 15:45:51 -04:00
Daniel Jiang
43d4bff5d3 Enable CA cert download on Chart deployment
This commit fixes #5138.  A volume references the secret will be mounted
to the UI pod, so the user can download the CA cert from UI.
2018-06-25 20:38:43 +08:00
Yuki
bf0ba46c46
Modify installation_guide.md
Modify HTTS of network port 4443 to HTTPS.
2018-06-25 09:40:14 +08:00
James
fcae81a034
Merge pull request #5175 from clouderati/add-comparison
create registry landscape table
2018-06-22 12:10:56 -04:00
Wenkai Yin
34fa969b56 Update ingress rule for Harbor chart
Rewrite /v2/* to UI instead of registry to apply the filters to the requests
2018-06-22 17:47:14 +08:00
Wenkai Yin
66811b3289
Merge pull request #5160 from ywk253100/180619_response_code
Parse the error got from jobservice, fix #5047
2018-06-22 17:17:26 +08:00
silenceshell
51dba20347
SERVER_ID should be SERVER_IP 2018-06-22 11:28:52 +08:00
James
1f85263b3f Registry Landscape
Creating a high-level overview of different projects and tols available for
platform engineers / architects to leverage when attempting to deploy
a container registry.

If you find any errors please don't hesitate to submit a PR.
2018-06-21 15:01:36 -04:00
Wenkai Yin
a603848ddf
Merge pull request #5164 from stonezdj/fix_invalid_dn_500
Handle Invalid syntax and not found error
2018-06-20 17:35:03 +08:00
stonezdj
d6a4d79a03 Handle Invalid syntax and not found error 2018-06-20 14:27:29 +08:00
Wenkai Yin
05fd9c8836
Merge pull request #5159 from reasonerjt/helm-chart-ingress-refinement
Add externalPort in values.yaml
2018-06-19 14:16:49 +08:00
Wenkai Yin 79628
078360a021 Parse the error got from jobservice, fix #5047
Parse the error got from jobservice, and return the corresponding HTTP code if it's a HTTP error to caller
2018-06-19 13:30:06 +08:00
Daniel Jiang
8cd90b6809 Add externalPort in values.yaml
Fixes #5133
Provide more flexibility for ingress controller setting.  When the
ingress controller is not exposing 80/443 port, user can set `externalPort` to expose the endpoint of Harbor.
2018-06-16 12:17:29 +08:00
Daniel Jiang
1fae22add1
Merge pull request #5157 from pengpengshui/repLabelNew
Add replication rule label filter function #4861
2018-06-16 04:40:56 +08:00
Daniel Jiang
2a77ed73dc
Merge pull request #5147 from sigsbee/ldiffile
Add ldap user and group
2018-06-16 04:40:06 +08:00
pfh
ffbcdf62a0 Modify small bugs about code 2018-06-15 17:46:00 +08:00
pfh
963830b9d1 Add replication rule label filter 2018-06-15 11:03:47 +08:00
Daniel Jiang
2f336b7a31
Merge pull request #5150 from clouderati/updating-readme
updating readme.md
2018-06-15 10:50:12 +08:00
Daniel Jiang
baa266e9c4
Merge pull request #5153 from clouderati/change-content-trust-policy
clarify wording: content trust policy in project setting
2018-06-15 10:31:29 +08:00
clouderati
60e88351b6 Small change to clarify wording deployment security toggle setting in project(s). 2018-06-14 17:37:05 -04:00
James
437f225890
Update README.md 2018-06-14 14:57:15 -04:00
James
e88ac24eda
updating readme.md
Tweaking wording in README.md.
2018-06-14 14:17:35 -04:00
myufei
31bdc3e894 Add ldap user and group
update ldap_test.ldif to add more user and group to ldap environment
2018-06-14 14:16:50 +08:00
Wenkai Yin
952bba6d6c
Merge pull request #5141 from ywk253100/180613_label_resource
Provide an API to return the resources that a label is referenced by
2018-06-14 12:56:17 +08:00
Wenkai Yin 79628
3298c05157 Provide an API to return the resources that a label is referenced by
The API returns the resources that the label is referenced by. The resources contain only replication policies for now.
2018-06-14 11:52:19 +08:00
Daniel Jiang
02db415aa7
Merge pull request #5142 from reasonerjt/fix-prepare-python3
Fix failure of running prepare with python3
2018-06-13 19:09:43 +08:00
Daniel Jiang
cfc95c69e6 Fix failure of running prepare with python3
This commit fixes #5053.
It removes the usage of `string.strip` which will fail in python3.
2018-06-13 18:17:00 +08:00
Daniel Jiang
05c5cbc227
Merge pull request #5121 from stonezdj/fix_5096
If group already exist return 409 when adding a LDAP user group
2018-06-13 17:57:58 +08:00
stonezdj
f025f28d12 If the LDAP user group already exist return 409 when onboarding an LDAP group
Do not adding the LDAP user group again.
2018-06-12 19:17:02 +08:00
Wenkai Yin
9c1d3c259a
Merge pull request #5120 from ywk253100/180611_partners
Update partners and users of Harbor
2018-06-12 17:58:18 +08:00
Daniel Jiang
255a6d6f95
Merge pull request #5070 from ywk253100/180601_label_fuzzy_match
Fix #4742: fuzzy match label name
2018-06-12 14:39:35 +08:00
Daniel Jiang
bb847ce745
Merge pull request #5112 from wy65701436/migrate-clair
Add clair data migration in DB migrator
2018-06-12 14:33:13 +08:00
Wenkai Yin 79628
0b10ed3164 Update partners and users of Harbor 2018-06-12 10:09:00 +08:00
Qian Deng
a72e7cb611
Merge pull request #5118 from pengpengshui/replicaton
Set default border when add label without color
2018-06-11 05:54:36 -04:00
pfh
6f8ad44d5c set default border when add label without color 2018-06-11 16:58:32 +08:00
Qian Deng
9b5cd7d046
Merge pull request #5115 from pengpengshui/replicaton
Add name validation when creat new replication rule #5050
2018-06-11 04:03:44 -04:00
Qian Deng
7cbd3a4a96
Merge pull request #5110 from pengpengshui/leftNav
Hidden pwd button if auth_mode is not db_auth
2018-06-11 03:09:42 -04:00
wangyan
2379123ff7 fix up clair issue and typo 2018-06-10 23:33:37 -07:00
Daniel Jiang
01b012afaf
Merge pull request #4950 from yixingjia/hadocs
Update HA docs to point to 1.5 branch
2018-06-11 13:36:46 +08:00