Commit Graph

194 Commits

Author SHA1 Message Date
James Lu
086676cdc5 feat(backup/restore): update volume crd
Longhorn-2227

Signed-off-by: James Lu <james.lu@suse.com>
2022-11-28 22:49:21 +08:00
James Lu
321671b879 feat(backup/restore): update chart
Longhorn-2227

Signed-off-by: James Lu <james.lu@suse.com>
2022-11-28 22:49:21 +08:00
Derek Su
2e0fc456be local volume: update crds and manifests
Longhorn 3957

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-25 14:42:31 +08:00
Chin-Ya Huang
3d28249c19 feat(support-bundle): update chart
Ref: 2759

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-11-24 23:00:23 +08:00
Derek Su
2d4000410d chart: update longhorn-instance-manager to v2_20221123
longhorn/longhorn#4210
longhorn/longhorn#3198

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-23 17:43:55 +08:00
Derek Su
9ed6dca696 local volume: update crds and manifests
Longhorn 3957

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-23 17:43:55 +08:00
Ray Chang
c546ba83da feat: Added mkfsParams to storage class example
Longhorn 4642

Signed-off-by: Ray Chang <ray.chang@suse.com>
2022-11-22 12:43:18 +08:00
Derek Su
75222752d2 snapshot check: add settings
Longhorn 4210
Longhorn 3198

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-18 11:50:09 +08:00
Derek Su
a63cc05a7f snapshot verification: update crds
Longhorn 4210
Longhorn 3198

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-18 11:50:09 +08:00
Derek Su
7ad77e1a6b chart: add engineReplicaTimeout
Longhorn 4491

Signed-off-by: Derek Su <derek.su@suse.com>
2022-11-15 18:12:48 +08:00
Phan Le
fca7f3a9a0 Fix bug: cannot re-run helm uninstallation if the first one failed and cannot fetch logs of failed uninstalltion job
Longhorn-4711

Signed-off-by: Phan Le <phan.le@suse.com>
2022-10-14 01:46:53 +08:00
Phan Le
994ef67d21 Add deleting-confirmation-flag setting
Longhorn-4509

Signed-off-by: Phan Le <phan.le@suse.com>
2022-10-13 22:33:25 +08:00
msougtani
502dcb72ed refer to issue 4574
Signed-off-by: msougtani <moujib.sougtani@arhs-consulting.com>

correct typo

Signed-off-by: msougtani <moujib.sougtani@arhs-consulting.com>
2022-09-30 15:00:10 +08:00
Ray Chang
641b6cb856 Add two arguments for recurring job history
Longhorn 1711

Signed-off-by: Ray Chang <ray.chang@suse.com>
2022-09-29 13:58:54 +08:00
Derek Su
b92a30910c chart: add and update manifests for recovery-backend
Longhorn 2293

Signed-off-by: Derek Su <derek.su@suse.com>
2022-09-06 00:32:31 +08:00
James Lu
8759703a8b Failed backups cleanup: update deploy YAML
Add a new option `failed-backup-ttl` and update the LEP for failed
backup cleanup.

Longhorn 3898

Signed-off-by: James Lu <james.lu@suse.com>
2022-08-24 09:23:43 +08:00
Derek Su
95ef30ba72 Update charts
Longhorn 4332

Signed-off-by: Derek Su <derek.su@suse.com>
2022-08-02 15:41:33 +08:00
Derek Su
df3462e205 chart: fix the conditions of Rancher deployed Windows Cluster
Longhorn 4289

Signed-off-by: Derek Su <derek.su@suse.com>
2022-07-27 12:19:50 +08:00
Tristan Lins
d3e4d6e198 Add preserveUnknownFields: false to crd specs
Signed-off-by: Tristan Lins <tristan.lins@chamaeleon.de>
2022-07-26 19:14:25 +08:00
c3y1huang
81a0941b1d
chart: support Rancher deployed Windows Cluster (#4262) 2022-07-22 18:44:56 +08:00
Amadeusz Kryze
1e7289dfe0 Annotation for service LonghornManager will be configurable.
Signed-off-by: Amadeusz Kryze <amadeusz.kryze@gmail.com>
2022-07-21 16:10:52 +08:00
Sebastian Podjasek
d48e95b8c3 Add value to set manager log in json format
Signed-off-by: Sebastian Podjasek <sebastian.podjasek@intelliway.pl>
2022-07-21 08:14:36 +08:00
Łukasz Sowa
fe5565dbcf Separate tls ingress option from secure backend
Signed-off-by: Łukasz Sowa <lukasz@owlsome.dev>
2022-06-28 22:46:26 +08:00
Andru Cherny
368d8363da move replicas from UI and driver to values
Signed-off-by: Andru Cherny <wiroatom@gmail.com>
2022-06-24 16:24:11 +08:00
Shuo Wu
d51d539067 chart: Format crd.yaml
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2022-06-15 19:20:29 +08:00
Shuo Wu
ab5a8ec5b6 chart: Update CRDs after backing image refactoring
Longhorn 3155, 3970

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2022-05-31 14:16:47 +08:00
Derek Su
e2b4afbca0 Make imagePullPolicy configurable
Signed-off-by: Derek Su <derek.su@suse.com>
2022-05-27 15:20:28 +08:00
Phan Le
2ccd63fdfa Fix bug nullable field is empty in snapshots.spec.label
Longhorn-4022

Signed-off-by: Phan Le <phan.le@suse.com>
2022-05-24 08:10:17 +08:00
Derek Su
7ae1d69b07 Remove longhorn-default-settings from manifests
Longhorn 2570

Signed-off-by: Derek Su <derek.su@suse.com>
2022-05-23 14:45:12 +08:00
Chin-Ya Huang
173f8f47b2 grpc-proxy: add proxyApiMinVersion to deployement
Longhorn-4004
Longhorn-3546

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-05-19 13:00:35 +08:00
Derek Su
0293462aee Skip rendering nil default settings
A default settings is nil when it is
- unset in values, or
- the value is "~"

Longhorn 2570

Signed-off-by: Derek Su <derek.su@suse.com>
2022-05-18 17:17:47 +08:00
Phan Le
f546f72bbd Update charts for Longhorn snapshot CRDs
Longhorn-3144

Signed-off-by: Phan Le <phan.le@suse.com>
2022-05-17 09:42:53 +08:00
Chin-Ya Huang
f94d4cc9de storage-network: update chart
Longhorn-2285

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-05-16 23:09:36 +08:00
Derek Su
39bc516674 Revert "Fix customize default settings while upgrade/update"
This reverts commit 37425e2a9a868135e6768f1b1320fc01e00eefff.

Signed-off-by: Derek Su <derek.su@suse.com>
2022-05-16 18:11:52 +08:00
Derek Su
fffe1e01dc Fix customize default settings while upgrade/update
Longhorn 2570

Signed-off-by: Derek Su <derek.su@suse.com>
2022-05-16 09:38:00 +08:00
Joshua Moody
f28692e0ce Add optional mtls secret mount for manager
The MTLS secret is currently hardcoded to longhorn-grpc-tls we can improve
this further in the future when necessary to also enable auto cert generation

Longhorn #3839

Signed-off-by: Joshua Moody <joshua.moody@suse.com>
2022-05-06 11:05:02 +08:00
David Ko
f898dec142 Fix wrong type of parameters in the storage class
Longhorn #3880

Signed-off-by: David Ko <dko@suse.com>
2022-05-05 16:31:22 +08:00
Derek Su
d2168251d3 orphaned data cleanup: update deploy YAML
Longhorn 685

Signed-off-by: Derek Su <derek.su@suse.com>
2022-04-28 22:49:48 +08:00
Chin-Ya Huang
9cb380eef5 cluster-autoscaler: update chart
Longhorn-2203

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-04-22 13:06:46 +08:00
Gaurav Mehta
b5c05972dc minor tweak to remove quotes
Signed-off-by: Gaurav Mehta <gaurav@rancher.com>
2022-04-21 14:48:38 +08:00
Gaurav Mehta
1c5145c47d Exposed storage class parameter migratable in the helm chart
Signed-off-by: Gaurav Mehta <gaurav@rancher.com>
2022-04-21 14:48:38 +08:00
Siye Wang
045f94086d Make Longhorn UI Listen Binding configurable
Longhorn 3829

Signed-off-by: Siye Wang <siye@rancher.com>
2022-04-12 14:06:15 +08:00
Derek Su
8512678932 Remove minimum and maximum markers from CRD
Fix the helm upgrade failure on kuberenetes v1.18.
Root cause: https://github.com/kubernetes/kubernetes/issues/87675

Longhorn 3631

Signed-off-by: Derek Su <derek.su@suse.com>
2022-04-01 17:14:07 +08:00
Chin-Ya Huang
bd3655b122 Add missing webhook RBAC rule for uninstaller
Longhorn-2034

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-03-29 11:08:50 +08:00
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
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
18e294ebb5 Introducing storage class locality.
Signed-off-by: Jan Esser <jesser@gmx.de>
2022-03-04 02:50:56 +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
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
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
81c0d1b3a2 Add headless services for instance manager pods
Signed-off-by: David Ko <dko@suse.com>
2021-12-20 17:37:34 +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
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
David Ko
55bdd81358 Merge v1.2.0
Signed-off-by: David Ko <dko@suse.com>
2021-09-01 01:32:34 +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
JenTing Hsiao
0c2dbcd675 Show backup state
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-08-25 13:53:39 +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
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
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
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
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
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