Commit Graph

101 Commits

Author SHA1 Message Date
Phan Le
b79b914967 Move registry secret setting to outside of  default setting
To avoid confusing user, we move the registry secret setting
outside of default setting section. Now, user will set
registry secret setting in privateRegistry.registrySecret

Longhorn #1670

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-11-23 17:16:17 -08:00
Phan Le
9c3ae72954 Update Helm chart templates for Longhorn v1.1.0
Longhorn #1906

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-10-28 18:42:27 -07:00
Bo Tao
c2753700b0 Update longhorn chart README.md
1. Remove Rancher from prerequisites.
2. Update to Kubernetes v1.15+.
3. Update the contents for installation and uninstallation.

Longhorn #1617

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-10-22 15:06:57 -07:00
Benjamin MALYNOVYTCH
2b0c377f1a StorageClass: add reclaimPolicy
Signed-off-by: Benjamin MALYNOVYTCH <bmalynovytch@admantic.fr>
2020-10-20 19:58:58 -07:00
Jack Ivanov
0a5fa0867e Add recurringJobs to the templates
Signed-off-by: Jack Ivanov <17044561+jackivanov@users.noreply.github.com>
2020-10-19 19:54:11 -07:00
Shuo Wu
e5a0491499 chart: Add an annotation for CRDs
So that the CRDs won't be wrongly deleted when the CRD files is
splitted.

https://helm.sh/docs/topics/charts_hooks/#hook-resources-are-not-managed-with-corresponding-releases

Longhorn #1818

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Shuo Wu
68a1082e6d chart: Add settings for CSI Snapshotter
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Shuo Wu
9cbb93d10c chart: Remove some redundancy for the chart
1. Remove the redundancy rule in clusterrole.yaml
2. Simplify the chart private registry setting.

Longhorn #1818

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Sheng Yang
39c64c6537 Update version to v1.0.2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-14 14:45:31 -07:00
Sheng Yang
139554a08e Update version to v1.0.2-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-13 11:45:43 -07:00
Stanislav Shcherbakov
478d574e7f /var/run/ - mountPropagation: Bidirectional
Signed-off-by: Stanislav Shcherbakov <sshcherbakov@plesk.com>
2020-08-12 14:18:30 -07:00
Sheng Yang
4963761a92 Update version to v1.0.2-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-11 22:03:32 -07:00
janeczku
298d60d05d Change configuration variable for PSP
Signed-off-by: janeczku <jan@rancher.com>
2020-08-10 13:49:35 -07:00
janeczku
f887ad1fb4 added pod security policy
Signed-off-by: janeczku <jan@rancher.com>
2020-08-10 13:49:35 -07:00
xiaolu hong
29f31e43f7 Air Gap installation from private repo
Signed-off-by: xiaolu hong <xiaoluhong@rancher.com>
2020-08-06 11:07:52 -07:00
Thulio Ferraz Assis
44ba6e4212 fix: remove beta annotation from storage class
Since the storage.k8s.io/v1 API, the annotation for is-default-class is
no longer in beta and was deprecated.
https://github.com/kubernetes/kubernetes/pull/40088

Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-08-06 11:07:52 -07:00
Sheng Yang
b22fcdd6a7 Merge branch 'master' into v1.0.1
Fix merge conflict.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:27:25 -07:00
Sheng Yang
01f6597992 Update tag to v1.0.1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:25:13 -07:00
Michael William Le Nguyen
1eae8fc7e2 chart: remove rancher labs from chart description
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-20 16:50:29 -07:00
Michael William Le Nguyen
505163c9dc chart: use icon instead of horizontal for logo
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-20 16:50:29 -07:00
Sheng Yang
46f0270df9 Correct chart tags to v1.0.1-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-18 13:09:34 -07:00
Sheng Yang
3a13b07630 Update version to v1.0.1-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-18 13:02:55 -07:00
Sheng Yang
e2253bc882 Update version to v1.0.1-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-15 22:58:04 -07:00
Michael William Le Nguyen
4a24d6b0ee chart: update maintainers
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-15 22:58:04 -07:00
Phan Le
395795353e chart: change the CSI Driver Registrar image variable in question.yaml to have the same name as in values.yaml
This makes sure that the Rancher chart correctly passes the
user-provided image registry value to values.yaml. So Longhorn
will pull the CSI Driver Registrar image from private registry
if the registry is provided.

Longhorn#1590

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-07-15 22:00:36 -07:00
Michael William Le Nguyen
ba31edc6a2 chart: update maintainers
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-15 13:00:05 -07:00
Michael William Le Nguyen
b76af125da chart: fix whitespace in questions.yml
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-14 17:02:30 -07:00
Michael William Le Nguyen
1857eef869 chart: add priority class to questions.yml
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-14 17:02:30 -07:00
Michael William Le Nguyen
7823f6485c Update deploy for v1.0.1-rc1
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-14 16:18:34 -07:00
Sheng Yang
1b20b1b0fe Update version to v1.0.1-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-10 17:47:50 -07:00
Michael William Le Nguyen
222759ee75 chart: update NOTES.txt
This provides a basic post-install message for the Longhorn chart.

Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-10 12:23:29 -07:00
Michael William Le Nguyen
5df10eccf1 chart: Fix newline for default-setting.yaml
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-09 12:12:14 -07:00
Michael William Le Nguyen
ce6db0b2bc chart: Add Helm standard labels to templates
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-09 12:12:14 -07:00
Phan Le
1a58855f0d dev/scripts, deploy, chart/templates: change imagePullPolicy to IfNotPresent for manager, ui, driver deployer. Also add a bash script to update the image pull policy to be Always
We changed the imagePullPolicy to IfNotPresent so that user can easily
install Longhorn in air-gap instalation.
Also add a bash script for the developer to quickly change all the
imagePullPolicies back to Always so that k8s always pull the
lastest images. This will be useful when dev use the tag such as master.

Longhorn #1491

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-07-02 10:35:18 -07:00
Bo Tao
809578d983 chart: Add downgrade warning and highlight namespace requirement
Longhorn #1454

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-06-04 11:52:18 -07:00
Sheng Yang
af389e60a9 Update version to v1.0.0
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-05-30 10:03:43 -07:00
Sheng Yang
acb80c4660 Update version to v1.0.0-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-05-28 15:20:01 -07:00
Sheng Yang
6bb4abd5f7 Update version to v1.0.0-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-05-23 13:35:29 -07:00
Shuo Wu
e6e313d0a6 chart: Update settings
Longhorn #1349

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-05-22 22:00:16 -07:00
Joshua Moody
d008aad816 Fix Instance Manager Image Tag Chart Label
Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-05-21 21:59:30 -07:00
Shuo Wu
fa5e6501f6 chart: Update instance manager image tag
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-05-19 19:56:35 -07:00
Sheng Yang
3e17410f0c Update version to Longhorn v1.0.0-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-05-19 17:03:42 -07:00
Aaron Spettl
1867b85110 Set securityContext for deployer and ui
When pod security policies are used, the default restricted policy does
not allow root permissions. Even when a more permissive policy is
assigned to the service account, we need to inform k8s that we need root
permissions so that the correct policy can be selected.

Signed-off-by: Aaron Spettl <aaron@spettl.de>
2020-05-17 23:33:09 -07:00
Thulio Ferraz Assis
5e67c380a8 fix: use quote fn instead of YAML quotes
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-05-14 18:52:33 -07:00
Thulio Ferraz Assis
6741a5f003 fix: use explicit nil YAML values
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-05-14 18:52:33 -07:00
Mohamed Eldafrawi
fe93b7ac14 fix typo in chart questions
Signed-off-by: Mohamed Eldafrawi <mohamed.eldafrawi@rancher.com>
2020-05-14 17:23:19 -07:00
Thulio Ferraz Assis
2c54009ff4 feat: add csi.resizerReplicaCount to chart values
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-05-14 11:01:36 -07:00
Mohamed Eldafrawi
f473ae48f1 Hide the customized default setting by default in Rancher chart
Signed-off-by: Mohamed Eldafrawi <mohamed.eldafrawi@rancher.com>
2020-05-11 13:29:08 -07:00
Shuo Wu
dfd438a28c chart: v0.8.1 release
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-04-28 17:34:38 -07:00
Shuo Wu
ef1ba9accd chart: Update deployment files
Longhorn #1163

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-04-28 17:34:38 -07:00