Commit Graph

68 Commits

Author SHA1 Message Date
Wenkai Yin
5772a61e5d Fix misc issues of Harbor chart
1. Read value of storage driver from values.yaml for adminserver
2. Set Redis as UI cache
3. Set Redis as registry cache
2018-07-27 15:28:22 +08:00
Daniel Jiang
2fa0cf032c
Merge pull request #5335 from ywk253100/180717_chart
Support the configuration of registry storage in helm chart
2018-07-25 16:20:31 +08:00
Wenkai Yin
f22121dd03 Add support for external Redis configuration in helm chart
This commit adds "external" part in redis configuration in helm chart, by this way users can use the existing external Redis rather than using the internal one
2018-07-23 17:42:23 +08:00
Wenkai Yin
bbb190327d
Merge pull request #5319 from BowlingX/master
Remove lost+found folder in database volume on initial start
2018-07-20 16:39:57 +08:00
Wenkai Yin
affc63f4d1 Fix the mismatch of property used in helm chart
This commit fixes the issue mentioned int #5326
2018-07-18 17:56:52 +08:00
Wenkai Yin
af9c99cf2f Support the configuration of registry storage in helm chart
This commit adds the registry storage configuration to the values.yaml. By this way, users can cusomize the storage they use.
2018-07-18 17:52:22 +08:00
David Heidrich
6fea7f7cb2 Remove lost+found folder in database root on initial start 2018-07-16 16:27:58 +02:00
Wenkai Yin
c72a7db4be Fix misc issues of Harbor charts
1. Fix the pull/push commands showed on UI are incorrect
2. Replace "insecureRegistry" with "externalProtocol"
3. Using the secret rather than pasting text if users want to use the certificate of themselves
4. Refine NOTES.txt
2018-07-11 17:16:42 +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
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
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
Jan-Otto Kröpke
ba36dad54c Do not mount secret if ingress is disabled 2018-06-27 22:49:17 +02: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
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
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
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
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
Jesse Hu
adc08b53b7
Add new contributer for Helm Chart (#5068) 2018-06-01 10:45:20 +08:00
SangJun Yun
615671e660 Add nodeSelector, tolerations, affinity configuration to helm chart (#5059) 2018-05-31 18:50:31 +08:00
Tan Jiang
065fbfa1a1 Make Helm Chart support Harbor 1.5.0
Update the helm chart of Harbor to use 1.5 image.  Specifically
`1.5.0-chart-patch` to include the fix to #4496 (for integration reason
this fix will not be merge to release branch).
Verified against kubenetes v1.10.0
2018-05-21 00:06:17 +08:00
int32bit
ef501115c4
Add missing HARBOR_PROJECT option to harbor alias 2018-05-11 10:38:50 +08:00
Jesse Hu
d0cf95333c [Chart] Fix a ConfigMap mount issue in K8s 1.10
K8s 1.10 throws error when mounting a file into the directory which
is also mounted from a ConfigMap.
Fix issue https://github.com/vmware/harbor/issues/4886
2018-05-10 18:37:46 +08:00
Jesse Hu
5a07d55859
Merge pull request #4830 from GrantStreetGroup/helm-registry-redis
Add redis cache support for registry pod
2018-05-02 19:05:29 +08:00
Steven Arnott
047cd83e05 Add redis cache support for registry pod 2018-04-30 13:04:05 -04:00
Steven Arnott
2229217a2b Add ldap-search-password support to Helm Chart (#4827) 2018-04-30 22:31:07 +08:00
Unknown
445ed415a1 chart cleanup per review 2018-04-25 10:37:12 -04:00
Unknown
6bb261b924 fixed storage:
- when persistence is disabled
- when using s3 storage
2018-04-25 10:19:58 -04:00
Jesse Hu
ce48dbfec2 [Chart] Add support for deploying Notary
Assuming Harbor FQDN is specified as harbor.my.domain by the user,
the Notary server FQDN will be set to notary-harbor.my.domain.
So the user must point both Harbor FQDN and Notary FQDN to the K8s
ingress controller IP in the DNS server.

Fix issue https://github.com/vmware/harbor/issues/4394
2018-04-19 15:17:33 +08:00
Jesse Hu
8310ba1038
Add more contributors for Harbor Helm Chart [Skip CI] 2018-04-17 18:06:11 +08:00
Unknown
2c684dc21c added tls certificate generation toggle 2018-04-16 15:56:38 -04:00
Daniel Jiang
166ae04a39
Merge pull request #4545 from vmware/chart-readme
Add contributers list for Harbor Chart
2018-04-03 19:20:50 +08:00
Jesse Hu
9ba5fe55e5
Update harbor chart README.md with a known issue on K8s 1.9.4 2018-04-01 20:53:49 +08:00
Jesse Hu
30a6a74cb0 Add contributers list for Harbor Chart 2018-03-30 16:49:21 +08:00
Jesse Hu
7c866511f0
Merge pull request #4519 from lucaim/master
Adding LDAP authentication to helm chart
2018-03-29 11:53:15 +08:00
Jesse Hu
95791a9fa8 Update Harbor helm chart README.md [Skip CI] (#4479)
* Update Harbor helm chart README.md

* More update in harbor chart README.md

* require 'Helm CLI 2.8.0+'
2018-03-28 14:24:34 +08:00
lucaim
0664c9a8cd Helm chart LDAP and authentication variable renaming 2018-03-27 15:57:03 +02:00
lucaim
05b9031327 Adding LDAP authentication parameters to helm chart 2018-03-26 17:41:49 +02:00
Gregory May
6f83afbd63 fix to yaml parse error causing Helm check failure (#4468)
Error: YAML parse error on harbor/templates/registry/registry-ss.yaml: error converting YAML to JSON: yaml: line 63: did not find expected key
2018-03-23 17:28:58 +08:00
Daniel Jiang
3577e59445
Merge pull request #4389 from paulczar/helm-clair-external-db
update helm chart to use external postgresql dependency
2018-03-21 10:17:35 +08:00
Paul Czarkowski
9332084824 improve doc for postgres user/pass etc 2018-03-12 11:22:36 -05:00
Jesse Hu
7ec809b31e
Refine harbor helm chart README.md (#4390) 2018-03-12 14:29:50 +08:00
Paul Czarkowski
187b0dcdbb update helm chart to use external postgresql dependency 2018-03-09 17:14:44 -06:00
Jesse Hu
dab5dd9879 Update Harbor helm chart to deploy Harbor 1.4.0 release (#4373)
* Update Harbor helm chart to deploy Harbor 1.4.0 release

* Change version to 0.1.0 and fix a doc error

* Fix auth_mode default value

* Refine doc and fix a typo
2018-03-09 18:47:13 +08:00
Paul Czarkowski
be397eb157 Initial helm chart for Harbor (#4271) 2018-02-17 11:29:52 +08:00
int32bit
19f3ebd353 Add CLI tool for Harbor
This patch provides a command-line tool for managing Harbor resources
like users, projects, images, etc.
2017-11-10 14:58:57 +08:00
yixingjia
f3f220c39c Merge pull request #2998 from cpeel/fix_logging
Fix harborclient module logging
2017-10-22 19:23:54 -07:00
Yang Li
78d7e2b788 fix docker docs link 2017-10-17 16:51:57 +08:00
Casey Peel
302d5c4073 Correct harbor-py dependencies & URLs (#2962)
* Correctly specify dependency packages

Include the requests package as part of setup.py, so pip will
download and install it as a dependency.

* Update URLs to point to main harbor git repo

harbor-py was moved to the main harbor git repo in July 2016
but the URLs still point to the deprecated repository.
2017-08-04 17:06:29 +08:00
Casey Peel
b7a2982d7d Fix harborclient module logging
python modules shouldn't set the global logging level and should log
with a named logger matching the module. This allows the application
to control the logging.
2017-08-03 14:46:15 -07:00