Commit Graph

5176 Commits

Author SHA1 Message Date
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
pfh
2366f6a39f Add name validate when creat new replication rule 2018-06-11 11:34:17 +08:00
wangyan
8d4d1582a3 add checking for clair DB migration 2018-06-10 20:15:55 -07:00
Daniel Jiang
c13f2f6948
Merge pull request #5111 from reasonerjt/fix-adminserver-key-perm
Change owner of the file secretkey in prepare.
2018-06-08 07:40:48 -07:00
wangyan
c7a54e115c Add clair data migration in DB migrator 2018-06-08 01:49:28 -07:00
Daniel Jiang
ccbd23d14e Change owner of the secret file in prepare script
The secretkey file will be loaded by adminserver which is run by non-root
user (uid:10000) previously the entrypoint script will run `chown` to a
lot files, and there's a breakage in upgrade when we skip running
`chown` inside container.
This commit will fix the issue during upgrade by changing the owner of
the secretkey file.
2018-06-08 16:43:16 +08:00
Daniel Jiang
7254b438ca
Merge pull request #5109 from ywk253100/180607_label
Soft delete label
2018-06-07 22:56:43 -07:00
Qian Deng
19e9fbf446
Merge pull request #5026 from pengpengshui/spelling
Modify spelling about 'serverity' to severity #4983
2018-06-08 01:47:30 -04:00
Wenkai Yin 79628
0c56493fb6 Soft delete label
Modify the deletion of label to soft deletion, in this way the names of deleted labels referenced by replication rules can be shown to users
2018-06-07 17:14:12 +08:00
pfh
2c2211dcfb Hidden pwd button if auth_mode is not db_auth 2018-06-07 14:20:12 +08:00
Jonas Rosland
845f6709d9 Adding correct links, and minor edits for spelling (#5080) 2018-06-07 13:17:07 +08:00
Daniel Jiang
b7451e291c
Merge pull request #5052 from vmware/code-of-conduct
Create code-of-conduct.md
2018-06-06 09:39:26 -07:00
James
067361ffe1
Update to code-of-conduct.md
Updating email address for complaints to harbor@vmware.com.
2018-06-06 11:13:38 -04:00
Qian Deng
e9158f2fb8
Merge pull request #4981 from ninjadq/change_admin_rename_style
Change the admin rename UX
2018-06-06 03:24:30 -04:00
Daniel Jiang
813e688e29
Merge pull request #4921 from int32bit/patch-1
Add missing HARBOR_PROJECT option to harbor alias
2018-06-05 16:56:22 -07:00
Deng, Qian
e1814597d8 Change the admin rename UX
Change the rename operation from double click icon to click button
2018-06-05 22:52:45 +08:00
sigsbee
a6f14c6d89
Update test case to increase passrate (#5083)
Update test case order to avoid scan on push fail
Add sleep time to avoid view scan results fail
Change keyword to wait unitl avoid delete operation fail
Change delete rule and repicate manual confirm to mouse down and up
2018-06-05 18:51:11 +08:00
Qian Deng
bf6192f32b
Merge pull request #5082 from pengpengshui/leftNav
Modify admin can't reset pwd to exist pwd
2018-06-04 06:10:42 -04:00
pfh
81271c8e31 Mofify admin can't change existing pwd 2018-06-04 16:08:46 +08:00
sigsbee
0d4aaccd13
Add get version to LDAP and replication test group(#5076)
Add get harbor version test case to LDAP and replication test group
2018-06-04 14:24:47 +08:00
sigsbee
a0bf7196e6 Fix label test case and replicate case (#5075)
Fix label test case fail for new UI change
Fix replicate manual keyword to avoid case fail
2018-06-02 01:34:33 +08:00
pengpengshui
d7a4c8aece
Merge pull request #5065 from pengpengshui/createlabel
Add func about after create one label success close create panel #4655
2018-06-01 17:28:26 +08:00
pfh
4cca83ee9a Merge upstream master 2018-06-01 16:57:41 +08:00
Yan
6d800cabbd
enable migrator to support 1.5.0 migration from mysql to pgsql (#5029)
This commit is to enable data migrator to support migrates data
from mysql to pgsql, this is a specific step for user to upgrade
harbor across v1.5.0, as we have move harbor DB to pgsql from
1.5.0. It supports both harbor and notary db data migration,
and be split into two steps with dependency.

It also fix issue #4847, add build DB migrator in make process.
2018-06-01 14:58:43 +08:00