Commit Graph

366 Commits

Author SHA1 Message Date
wilson1999112
049a4ea974
Allow using an existing private registry secret (#3673)
Co-authored-by: David Ko <dko@suse.com>
Co-authored-by: JenTing Hsiao <jenting.hsiao@suse.com>
2022-03-18 13:50:45 +08:00
Derek Su
37dc053972 chart: update webhook and crd manifests
longhorn 3562

Signed-off-by: Derek Su <derek.su@suse.com>
2022-03-15 14:27:38 +08:00
Derek Su
1b8111495a webhook: set securityContext
To follow the least privilege principle, the conversion and admission webhooks
are run with a non-root user (uid = 2000).

Longhorn 3701

Signed-off-by: Derek Su <derek.su@suse.com>
2022-03-09 13:41:33 +08:00
David Ko
7be7109e65 Update dev versions to components and chart for the master branch
Signed-off-by: David Ko <dko@suse.com>
2022-03-08 13:31:28 +08:00
Derek Su
00d0dd396e charts: add conversion to crds
Longhorn #3631

Signed-off-by: Derek Su <derek.su@suse.com>
2022-03-05 09:38:31 +08:00
Jan Esser
14c5434335 adding persistence.defaultDataLocality to questions.yaml
Signed-off-by: Jan Esser <jesser@gmx.de>
2022-03-04 02:50:56 +08:00
Jan Esser
18e294ebb5 Introducing storage class locality.
Signed-off-by: Jan Esser <jesser@gmx.de>
2022-03-04 02:50:56 +08:00
Keith Lucas
451d299c87 Update the instance message in the chart
Signed-off-by: Keith Lucas <keith.lucas@suse.com>
2022-03-04 02:31:00 +08:00
Derek Su
be7e7055e2 chart: add conversion and admission webhook services
Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit c5159e1774c42d47a9a1ba3500accd11c05420b7)
2022-03-02 13:17:33 +08:00
Derek Su
8d2511bbed Add //+nullable to engine status fields
Longhorn 3538

Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit 638d27563869aa65189b30e27ee8c13a7c235483)
2022-03-02 13:17:33 +08:00
JenTing Hsiao
29b2011779 Do not generate schema for longhorn.io/v1beta1 CRD
Because we should not do any change in the previous version
longhorn.io/v1beta1. We should add the CRD structural schema from
longhorn.io/v1beta2.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
(cherry picked from commit 1221c29cef8dd8af2388e0baaa5a530c19a1a232)
2022-03-02 13:17:33 +08:00
Phan Le
ab53d4f98c Fix bug volume cloning feature is broken
The field DataSource should be a string with full
information about the source of volume. For example,
snap://vol-name/snapshot-name

Longhorn-3508

Signed-off-by: Phan Le <phan.le@suse.com>
(cherry picked from commit be27eeacfd094e5148e1044ba14e73cc287ee792)
2022-03-02 13:17:33 +08:00
JenTing Hsiao
78edfff1f5 crd: add recurring job retain count max check
Longhorn 3493

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

(cherry picked from commit dafeafd4f63450db29fa3ca6b824456938c14c8e)
2022-03-02 13:17:33 +08:00
Matthew Mattox
fa6ec17cfb Removing runAsUser and securityContext, as the image will run as Longhorn instead of root
Signed-off-by: Matthew Mattox <Matt.Mattox@suse.com>
2022-03-01 00:06:43 +08:00
Matthew Mattox
c7ed614cbc adding cache-volume to longhorn-ui
Signed-off-by: Matthew Mattox <Matt.Mattox@suse.com>
2022-03-01 00:06:43 +08:00
JenTing Hsiao
c099863c4f Make the format alignment
Co-authored-by: David Ko <dko@suse.com>
2022-02-24 22:08:16 +08:00
Alaa Attya
e9326b0a2b Add config value for ingress path
Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> (+6 squashed commits)
Squashed commits:
[fdea72a] fix typo

Signed-off-by: Alaa Attya <alaa.saleh@deliveryhero.com>
Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>
[2af80af] Update share-manager image to v1_20210914

This fixes the previously created RWX volumes that were marked as XFS but
got created as EXT4 since we only supported EXT4 at the time.

Longhorn #2991

Signed-off-by: Joshua Moody <joshua.moody@suse.com>
Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>
[350d8cb] update questions.yaml

Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>
[ed4846e] update questions.yaml

Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>
[b8db363] updates

Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>
[a3b8719] update labels

Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>

update labels

Signed-off-by: Alaa Attya <alaa.attya91@gmail.com>

Revert "Update chart/values.yaml"

This reverts commit 94cebff301ba24779daef0d83222350321814dd4.

Revert "Revert "Update chart/values.yaml""

This reverts commit d0528ef7bf79d60b26bcd961438a0026e58eac01.

updates

Revert "updates"

This reverts commit 0d47279b4edb2b170c831e462745079148bcd678.

Revert "Revert "Revert "Update chart/values.yaml"""

This reverts commit f64503db10b58f374c614471a573893af4594ca4.

Revert "Revert "Update chart/values.yaml""

This reverts commit d0528ef7bf79d60b26bcd961438a0026e58eac01.

Revert "Update chart/values.yaml"

This reverts commit 94cebff301ba24779daef0d83222350321814dd4.

Revert "Revert "Update chart/values.yaml""

This reverts commit 15bf7bebf08535d24ee8636ae6f8013b871ca0a8.

updates

updates
2022-02-24 22:08:16 +08:00
Maciej Lasyk
be119b4a84 feat(longhorn-UI): Allow specifying loadBalancer IP/SourceRanges
Signed-off-by: Maciej Lasyk <maciej@lasyk.info>
2022-01-10 21:11:25 +08:00
Damien Eichhorn
408d6fc26b Fix repica typo
Signed-off-by: Damien Eichhorn <damien@shockbyte.com>
2022-01-04 21:49:25 +08:00
signaleleven
1dedf7d37f Allow to add annotations on the serviceAccount managed by the helm chart
Signed-off-by: signaleleven <michael.sacchi@signal-eleven.com>
Co-authored-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-01-03 14:31:52 +08:00
Lukas Auerbeck
ec9abd0b77 Make namespace configureable for services
Signed-off-by: Lukas Auerbeck <lauerbeck@gmx.at>
2021-12-24 08:59:37 +08:00
Daniel Pauler
e835daf103 Rename yml to yaml
Signed-off-by: Daniel Pauler <daniel.pauler@nts.eu>
2021-12-21 07:31:18 +08:00
David Ko
8cabbc690f Update 1.2.3
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
David Ko
f192c9e146 Update to v1.2.3-rc2
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
David Ko
3301f9b915 Update im to v1_20211210
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
David Ko
81c0d1b3a2 Add headless services for instance manager pods
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
David Ko
a89b627556 Update csi images based on longhornio
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
David Ko
647eada47b Update to 1.2.3-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +08:00
Joshua Moody
71c711c40f Update sm image to v1_20211020 (fs expansion)
Add filesystem expansion support into the share-manager, this is required
to support expansion for encrypted volumes. The expansion happens during
the mount phase of the volume.

Longhorn #2868

Signed-off-by: Joshua Moody <joshua.moody@suse.com>
2021-12-20 17:37:34 +08:00
Phan Le
44c6ccbf0b Change the CSI sidecar images from upstream repo to Longhorn repo
Longhorn-3258

Signed-off-by: Phan Le <phan.le@suse.com>
2021-12-20 17:37:34 +08:00
Abhimanyu Saharan
a1817a3cac fix: update ingress host
Signed-off-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com>
2021-11-19 08:25:55 +08:00
David Ko
3749c3fe21 Release 1.2.2
Signed-off-by: David Ko <dko@suse.com>
2021-10-07 20:03:58 +08:00
David Ko
4494c54b3a Release 1.2.2-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-10-07 14:08:40 +08:00
David Ko
2262652ef7 Release longhorn v1.2.1
Signed-off-by: David Ko <dko@suse.com>
2021-10-06 12:30:58 +08:00
David Ko
0b91c1bc39 Update to 1.2.1-rc2
Signed-off-by: David Ko <dko@suse.com>
2021-09-24 22:25:28 +08:00
Shuo Wu
607808927d chart: Update setting 'ConcurrentReplicaRebuildPerNodeLimit'
Longhorn 2460

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-09-24 19:57:45 +08:00
David Ko
7b8140ba2f Update to 1.2.1-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-09-17 09:13:56 +08:00
Shuo Wu
ecc529569d chart: Add new setting 'Concurrent Replica Rebuild Per Node Limit'
Longhorn 2460

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-09-16 19:51:25 +08:00
Joshua Moody
d4728f44df Update share-manager image to v1_20210914
This fixes the previously created RWX volumes that were marked as XFS but
got created as EXT4 since we only supported EXT4 at the time.

Longhorn #2991

Signed-off-by: Joshua Moody <joshua.moody@suse.com>
2021-09-14 20:14:06 +08:00
Shuo Wu
669dfd29ef chart: Add new setting 'Backing Image Recovery Wait Interval'
Longhorn 2957

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-09-07 18:27:21 +08:00
phanle1010
f2856cd358 Explicitly set default fsType to EXT4
This allow Kubernetes to properly changes the volume ownership
and permissions when user specify fsGroup in workload pod

Longhorn-2964

Signed-off-by: phanle1010 <phan.le@suse.com>
2021-09-03 11:57:15 +08:00
JenTing Hsiao
f0bfaddff9 Remove duplicate item in Chart sources
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-09-02 15:22:47 +08:00
JenTing Hsiao
2287b51e00 Helm chart doesn't allow -xxx as a valid version
- Unless we add `-0`, see helm/helm#9371 for details.
- Besides that, the semver parser doesn't allow with prefix `v`.
  Remove the prefix `v`.
https://github.com/rancher/rancher/blob/release/v2.5.9/pkg/catalog/manager/manager.go#L218-L221

Longhorn 2963

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-09-02 15:22:47 +08:00
David Ko
55bdd81358 Merge v1.2.0
Signed-off-by: David Ko <dko@suse.com>
2021-09-01 01:32:34 +08:00
David Ko
84d2f48912 Update to v1.2.0
Signed-off-by: David Ko <dko@suse.com>
2021-09-01 00:11:36 +08:00
Shuo Wu
a22706cf1e chart: Format the YAML files
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-08-31 17:26:53 +08:00
Shuo Wu
5d6319aba0 chart: Add missing labels for CRD YAML
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-08-31 17:26:53 +08:00
Shuo Wu
36d0b00a82 chart: Add backing image options for default StorageClass
Longhorn 2403, 2404, 2530

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-08-26 15:34:46 +08:00
JenTing Hsiao
bda87293fb Bump ingress api version to networking.k8s.io/v1 (#2809)
extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+
ref to: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

Co-authored-by: David Ko <dko@suse.com>
2021-08-26 09:05:11 +08:00
David Ko
bf20a0c3db Update CSI images in questions.yml
Signed-off-by: David Ko <dko@suse.com>
2021-08-25 22:10:23 +08:00
David Ko
9c5bd07ac6 Update to v1.2.0-rc2
Signed-off-by: David Ko <dko@suse.com>
2021-08-25 19:53:24 +08:00
JenTing Hsiao
0c2dbcd675 Show backup state
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-08-25 13:53:39 +08:00
phanle1010
baae009904 Raise minimum kubernetes version to v1.18.0 in ./chart/Chart.yaml
Signed-off-by: phanle1010 <phan.le@suse.com>
2021-08-25 13:34:18 +08:00
phanle1010
ab502bab79 Bump CSI external components version
Longhorn 2757

Signed-off-by: phanle1010 <phan.le@suse.com>
2021-08-25 07:20:14 +08:00
David Ko
00848b409a Sync chart files from 1.1.2
Signed-off-by: David Ko <dko@suse.com>
2021-08-24 01:23:28 +08:00
Shuo Wu
6b6bbc946e chart: Explicit explain how Longhorn identifies a node zone in questions.yml
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-08-23 13:55:58 +08:00
David Ko
46e2cb63ae Update to v1.2.0-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-08-21 00:58:12 +08:00
Chin-Ya Huang
8dca77621d Update chart for label-driven recurring job
Longhorn-467

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-08-20 11:49:51 +08:00
David Ko
13dc719ebb Release longhorn v1.2.0-preview1
Signed-off-by: David Ko <dko@suse.com>
2021-08-12 01:03:23 +08:00
Shuo Wu
25b409421f chart: Update chart for the enhanced backing image feature
Longhorn #2530

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-08-10 12:37:12 +08:00
Xabier Napal
464e9e79ab chore: fix wrong values used for ui tolerations and nodeselectors
Signed-off-by: Xabier Napal <xabiernapal@pm.me>
2021-08-09 09:16:47 +08:00
JenTing Hsiao
47d38e621e
Bump ingress api version to networking.k8s.io/v1 (#2809)
extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+
ref to: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

Co-authored-by: David Ko <dko@suse.com>
2021-07-30 10:24:31 +08:00
Shuo Wu
06ec6424af chart: Update default tag for instance manager in question.yml
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-07-13 12:18:02 +08:00
Shuo Wu
c92ace9a61 chart: Remove deprecated setting value 'guaranteedEngineCPU'
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-07-08 19:18:45 +08:00
Shuo Wu
b84e960377 chart: Remove deprecated setting 'Volume Attachment Recovery Policy'
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-07-08 19:18:45 +08:00
David Ko
ac2b9dd7fb Update to v1.1.2
Signed-off-by: David Ko <dko@suse.com>
2021-07-06 21:52:18 +08:00
David Ko
cbf766ec26 Update version to v1.1.2-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-06-22 18:24:50 +08:00
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
2e885320a0 Revert "Update chart to allow user to disable-profiler"
This reverts commit 3b64d301ee.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-06-18 08:56:30 -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
Chin-Ya Huang
3b64d301ee 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:27:38 +08:00
JenTing Hsiao
776ef4afc1 Add bash to install requirement
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-06-18 13:50:11 +08:00
JenTing Hsiao
a797753551 Add bash to install requirement
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-06-18 13:49:59 +08:00
Chin-Ya Huang
abe193a72b Support replica auto-balance in chart
Longhorn#587

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-06-17 16:08:17 +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
Shuo Wu
5c3776b35e Fix ability to provide own tls certificate for ingress.
Signed-off-by: Jan Černý <jC3rny89@Gmail.com>
2021-05-28 18:52:33 +08:00
Shuo Wu
e2d78d79f3 chart: Add backing image manager repo description
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-05-21 18:35:29 +08:00
Shuo Wu
42a20755f8 chart: Add backing image manager repo description
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2021-05-21 18:21:32 +08:00
David Ko
9d527937e1 Update version to v1.1.1
Signed-off-by: David Ko <dko@suse.com>
2021-04-23 11:37:29 +08:00
David Ko
749f711c85 Update version to v1.1.1-rc2
Signed-off-by: David Ko <dko@suse.com>
2021-04-21 00:30:52 +08:00
JenTing Hsiao
c48c2cd5bd Update chart icon
Use .png as a chart icon to make it visible on the rancher server.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-04-14 14:44:04 +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
David Ko
5918e89fcd Update version to v1.1.1-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-04-07 22:40:35 +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
Chin-Ya Huang
a0f0116751 Update default share-manager image to v1_20210406
- Fix rwx mount ownership reset to nobody
  Longhorn#2357

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-04-06 05:49:19 -07: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
JenTing Hsiao
63041e174c Updates wording to specify the annotations only added to longhorn-manager Pods
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-29 10:53:24 +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
David Ko
ff72f95d9c Update version to v1.1.1-preview1
Signed-off-by: David Ko <dko@suse.com>
2021-03-18 10:35:16 +08:00
JenTing Hsiao
8919b8e463 Update chart README
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-12 12:47:35 +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
Chin-Ya Huang
0611e5fb8c Update default share-manager image to v1_20210302
Include
- Patched nfs-ganesha v3.3 to fallback to ipv4 when ipv6
  is not available
  Longhorn #2197

- Fixed pod hanging at ganasha server error due to missing
  /etc/mtab file.
  Longhorn #2111

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-03-02 07:00:24 -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
Joshua Moody
7533ae2fe2 Update default share-manager image to v1_20210106
We switched from fedora to an ubuntu base image, to support the security
scanner.

Longhorn #2111

Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2021-01-19 14:55:35 -08:00
Sheng Yang
1489feee7b Update version to v1.1.0
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-17 18:09:01 -08:00
Sheng Yang
e834f3177c Update version to v1.1.0-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-16 21:52:55 -08:00
Sheng Yang
696e6588f5 Update instance manager to v1_20201216
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-16 21:52:55 -08:00
Shuo Wu
2c25009c8a Chart: Add share manager info
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-14 23:20:18 -08:00
Sheng Yang
880bc5ed0f Update version to v1.1.0-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-14 20:44:15 -08:00
Shuo Wu
5ec0c5a261 chart: Update Kubernetes version requirement for chart
Since we update the CRD apiVersion to apiextensions.k8s.io/v1, the
minimal Kubernetes version requirement is v1.16 now.

Longhorn #2061

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-11 08:55:09 -08:00
Shuo Wu
2eeb93afb5 chart: Correct the inconsistent for question.yml
Longhorn #2082

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-11 08:43:45 -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
Nicholas Novak
a1754a0906 Fixed a grammatical error that I missed in the README
Signed-off-by: Nicholas Novak <nicholasmnovak@gmail.com>
2020-12-09 13:55:57 -08:00
Nicholas Novak
e7fb431e3c Fixed some spelling and grammatical errors in the READMEs
Signed-off-by: Nicholas Novak <nicholasmnovak@gmail.com>
2020-12-09 13:55:57 -08:00
Shuo Wu
6a301741dc chart: Update image tag for longhorn instance manager
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-12-07 07:16:13 -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
Sheng Yang
7f0790fc80 Longhorn v1.0.2-rc1 release
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-06 11:02:15 -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
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
Shuo Wu
7978692614 chart: Update links in the docs
Longhorn #1229

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-04-28 17:34:38 -07:00
Sheng Yang
e39dece7a7 Longhorn v0.8.1-rc3 release
Update version tags.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-24 15:07:05 -07:00
Sheng Yang
340ed789f2 chart: Update questions.yaml to v0.8.1-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-21 17:50:14 -07:00
Sheng Yang
c02f69d6f7 Sync with manager and update chart tags
commit 364ff6b1bbb9bd5d3f20757304fd27f3f583feb4
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Tue Apr 21 15:49:31 2020 -0700

    Longhorn v0.8.1-rc2 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-21 17:50:14 -07:00
meldafrawi
c67fc8060e add Longhorn and CSI use default image question
Signed-off-by: Mohamed Eldafrawi <mohamed.eldafrawi@rancher.com>
2020-04-21 11:52:09 -07:00
Sheng Yang
ed571836d7 chart: Update questions.yaml to v0.8.1-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-15 21:01:06 -07:00
Sheng Yang
5b141bcaf9 Sync with manager and update chart tags
commit 83bf32dc586bf99314fcd3efa396da676cb4cd55
Author: Shuo Wu <shuo@rancher.com>
Date:   Wed Apr 15 17:19:05 2020 +0800

    Add 'FromReplica' for 'RebuildStatus'

    Longhorn #1167

    Signed-off-by: Shuo Wu <shuo@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-15 21:01:06 -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
eb5301b62a chart: Change default setting for storage related options
Longhorn #1068

Overprovision factor to 200%.
Minimal available disk to 25%.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-02 12:45:30 -07:00
Shuo Wu
bf03c921a0 Update default data path to /var/lib/longhorn
Longhorn #1102

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-03-15 22:00:14 -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
Sheng Yang
160e6afd60 Update chart to v0.8.0
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-10 18:24:56 -07:00
Sheng Yang
3b7674376d Update chart to v0.8.0-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-09 18:50:32 -07:00
Sheng Yang
91ed8720c4 chart: update to v0.8.0-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-03 19:18:10 -08:00
Sheng Yang
f2a6b98514 Update chart to v0.8.0-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-02-29 18:42:08 -08: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
Sheng Yang
5145d4ef8a Update chart to v0.7.0
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-11-14 22:56:00 -08:00
Sheng Yang
b1061c62c9 Update chart to v0.7.0-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-11-12 23:33:14 -08:00
Shuo Wu
47de210eb6 chart: Update README for CRD cleanup
Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-12 22:50:07 -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
e55b3df745 chart: Update the logo
Longhorn #829

Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-11 11:24:44 -08:00
Shuo Wu
5e2f8cc45e helm: Update CRDs
Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-08 16:51:32 -08:00
Shuo Wu
1845f22c6a helm: Update Longhorn cluster role
Signed-off-by: Shuo Wu <shuo@rancher.com>
2019-11-08 16:51:32 -08:00
Sheng Yang
d49a21e5af Update chart version to v0.7.0-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-11-07 22:50:53 -08:00
Sheng Yang
5778a6141a helm: Update StorageClass with new driver name
Signed-off-by: Shuo Wu <shuo@rancher.com>
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-11-07 22:50:53 -08:00
Sheng Yang
230ac73281 Update charts to v0.6.2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-10-07 20:44:26 -07:00
Sheng Yang
266c4e23b8 Update chart to v0.6.2-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-10-07 17:26:01 -07:00
Sheng Yang
5cd90d9c4a charts: Update to v0.6.1
Engine is still at v0.6.0.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-09-23 14:27:21 -07:00
Sheng Yang
bac4f8cd3f Update chart to v0.6.0
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-09-21 14:56:37 -07:00
Sheng Yang
ab75b05f5f chart: Update to use appsV1 API
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-09-20 13:48:32 -07:00
Sheng Yang
6645767866 chart: Update to v0.6.0-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-09-18 18:27:01 -07:00