Commit Graph

61 Commits

Author SHA1 Message Date
Chin-Ya Huang
83edcef2b5 Revert "Update chart to allow user to disable-profiler"
This reverts commit 95ed73d356.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-06-18 08:56:49 -07:00
Chin-Ya Huang
95ed73d356 Update chart to allow user to disable-profiler
Longhorn#2696

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-06-18 15:32:47 +08:00
JenTing Hsiao
36a56425a9 Fix ability to provide own tls certificate for ingress.
Signed-off-by: Jan Černý <jC3rny89@Gmail.com>
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-05-28 19:05:09 +08:00
Phan Le
47a34c4b36 Allow user to set node selector for system managed components, manager, UI, driver deployer
This feature allow user to deploy Longhorn only on a specific
set of nodes

Longhorn #2199

Signed-off-by: Phan Le <phan.le@rancher.com>
2021-04-14 09:48:26 +08:00
Shuo Wu
30bcdf3b0e chart: Show state in the print columns for backing image manager CR
Signed-off-by: Shuo Wu <shuo@rancher.com>
2021-04-07 14:40:01 +08:00
Shuo Wu
96b8113488 chart: Update chart for the enhanced backing image feature
Longhorn #2295

Signed-off-by: Shuo Wu <shuo@rancher.com>
2021-04-07 14:08:03 +08:00
Antoine Bertin
53657e2a86 Add support for ingressClassName in helm chart
Signed-off-by: Antoine Bertin <ant.bertin@gmail.com>
2021-04-01 11:47:03 +08:00
Phan Le
50f2783ab0 Allow user to specify priority class and tolerations for Longhorn UI, Driver, Manager
Now that we only watch/update managed components, we should allow
user to specify Helm values for user deployed components (manager,
driver, UI).

Longhorn #2120

Signed-off-by: Phan Le <phan.le@rancher.com>
2021-03-24 14:51:30 +08:00
JenTing Hsiao
b4af43d454 Add annotations to longhorn-manager DaemonSet
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-22 01:30:07 +08:00
JenTing Hsiao
eb76703339 Eanble postupgrade and uninstall job security context privileged
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-18 14:42:31 +08:00
Shuo Wu
e4c4f60908 chart: Update settings based on the new CPU reservation design
Longhorn #2207

Signed-off-by: Shuo Wu <shuo@rancher.com>
2021-03-09 20:38:25 +08:00
Shuo Wu
57d6e6b735 chart: Add missed CRD BackingImage
Longhorn #2006

Signed-off-by: Shuo Wu <shuo@rancher.com>
2021-03-08 16:15:55 -08:00
Shuo Wu
384e02b1ea chart: Update chart for the backing image feature
Longhorn #2006

Signed-off-by: Shuo Wu <shuo@rancher.com>
2021-02-25 12:59:38 -08:00
Phan Le
d23ebfd3fa chart: add concurrent-automatic-engine-upgrade-per-node-limit setting
Longhorn #2152

Signed-off-by: Phan Le <phan.le@rancher.com>
2021-01-28 13:51:48 -08:00
JenTing Hsiao
4d48b11f6b Remove mount /var/run from host to avoid DNS lookup failure
The host's /var/run/nscd leaking into the pod and it caused the DNS
lookup failure.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-01-26 18:07:41 -08:00
Shuo Wu
d62bcccfc7 chart: Remove the annotation which causes CRDs not removed during uninstallation
Will find another way to migrate the CRD file later.

Longhorn #2035

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-11 08:42:04 -08:00
Shuo Wu
3a257953da chart: Introduce longhorn share manager
Longhorn #2043

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-07 07:16:13 -08:00
Guangbo Chen
791d63c5e3 Add namespace override
Signed-off-by: Guangbo Chen <steven.guangbo.chen@gmail.com>
2020-12-03 14:26:47 -08:00
Shuo Wu
d77dc2c35e chart: Sync chart with the YAML files in longhorn-manager
Longhorn #1818, #1813

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-11-30 09:28:45 -08:00
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
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
Stanislav Shcherbakov
478d574e7f /var/run/ - mountPropagation: Bidirectional
Signed-off-by: Stanislav Shcherbakov <sshcherbakov@plesk.com>
2020-08-12 14:18:30 -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
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
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
Shuo Wu
e6e313d0a6 chart: Update settings
Longhorn #1349

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-05-22 22:00:16 -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
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
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
meldafrawi
6b990aea63 Add airgap support to chart
Signed-off-by: meldafrawi <mohamed.eldafrawi@rancher.com>
2020-04-15 21:01:06 -07:00
Sheng Yang
07e6bd9d1b
Merge pull request #1094 from longhorn/v0.8.0
V0.8.0
2020-03-10 18:57:02 -07:00
Shuo Wu
681e040ec1 Update chart
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-02-28 20:25:01 -08:00
meldafrawi
b70d86b3ce Chart: change frontend service to type ClusterIP
Signed-off-by: meldafrawi <mohamed.eldafrawi@rancher.com>
2020-02-27 18:54:57 -08:00
Philipp Hellmich
159ea6fbbf delete existing hook
https://github.com/longhorn/longhorn/issues/1057
this allows to recover a failed installation / upgrade

Signed-off-by: Philipp Hellmich <phil@hellmi.de>
2020-02-26 12:52:25 -08:00
Shuo Wu
efb9a5d7fd chart: Include old CRDs
Helm will delete all old CRDs if the old CRD yaml file is removed
in the new release. Then the upgrade path doesn't work.

Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-12 22:50:07 -08:00
Shuo Wu
24fa15dc05 chart: Remove flexvolume
Longhorn #358

Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-12 12:15:32 -08:00
Shuo Wu
62cc78c922 chart: Update post upgrade job
Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-11 14:30:02 -08:00
Shuo Wu
5e2f8cc45e helm: Update CRDs
Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-08 16:51:32 -08:00