Commit Graph

711 Commits

Author SHA1 Message Date
Derek Su
342ed8d932 Add LEP for orphaned data cleanup
The LEP describes the design of the orphaned data cleanup in longhorn ndoes.

Longhorn 685

Signed-off-by: Derek Su <derek.su@suse.com>
2022-04-01 09:01:16 +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
Chin-Ya Huang
19719de0c5 Fix data migration YAML command args
Longhorn-3787

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2022-03-25 14:01:20 +08:00
Derek Su
dba0d38ff1 Update install.yaml
Longhorn 3772

Signed-off-by: Derek Su <derek.su@suse.com>
2022-03-23 16:10:59 +08:00
Shuo Wu
931a692eb9 Update LEP 'Snapshot Prune'
Longhorn 3613

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2022-03-22 11:00:12 +08:00
Shuo Wu
ff617ac1fd Add LEP 'Snapshot Prune'
Longhorn 3613

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2022-03-21 16:43:06 +08:00
JenTing Hsiao
aa2f9576a8 Bump backing-image-manager image to v3_20220318
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2022-03-19 14:52:46 +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
David Ko
ae4df55ae4
Update the latest stable release 1.2.4 2022-03-17 19:54:24 +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
David Ko
86688525a1 Add hostNetowrk back to pre-install manifests
Signed-off-by: David Ko <dko@suse.com>
2022-03-09 15:07:46 +08:00
David Ko
2fcba12f67 Generate longhorn.yaml based on chart
longhorn #3716

Signed-off-by: David Ko <dko@suse.com>
2022-03-09 15:07:46 +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
9a36732ebd Change imagePullPolicy of uninstall job to IfNotPresent
Signed-off-by: David Ko <dko@suse.com>
2022-03-08 13:31:28 +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
Keith Lucas
ffc75805f0 Update instance manager
Use an instance manager version with the tgt 100% CPU usage fix.

Signed-off-by: Keith Lucas <keith.lucas@suse.com>
2022-03-04 02:31:00 +08:00
David Ko
17947a7e8d Give a note about the master for development
Signed-off-by: David Ko <dko@suse.com>
2022-03-02 16:29:27 +08:00
JenTing Hsiao
9169d735fe Remove hostNetwork:true from iscsi/nfs installation
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
(cherry picked from commit 0ee31f0d778c1dd6d8b3603b320f25f28a5af671)
2022-03-02 13:17:33 +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
b4015b98e6 example: add longhorn admission and conversion webhook servers network policy yaml manifests
Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit 0dd86841f2a2b68f4cccd8f7acfd5e8329630d12)
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
246bfdb85c example: add longhorn webhook server network policy yaml manifest
The traffic from/to the longhorn webhook server is the kube-apiserver.
The only way we could add restriction is to add the network policy of
the ingress port because we can't know each Kubernetes distro default
kube-apiserver Pod's label. Therefore, we can't add the label selector
in the network policy rule to restrict the traffic that comes from the
kube-apiserver is able to access to the longhorn webhook server.

Longhorn 3513

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
(cherry picked from commit 769e85bc80b6351a081a79ddf83ab181cf956e23)
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
Pratik Raj
d970383384 chore : enable iscsi kernel module
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2022-02-24 23:54:23 +08:00
Pratik Raj
fddb93ad47 chore : enable nfs kernel module
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2022-02-24 22:28:05 +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
Phan Le
159f44a0c5 Add LEP for feature Extend CSI Snapshot support to Longhorn snapshot
Longhorn-2534

Signed-off-by: Phan Le <phan.le@suse.com>
2022-01-20 21:27:52 +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
Phan Le
93061470ea Add network policy examples
Longhorn-1805

Signed-off-by: Phan Le <phan.le@suse.com>
2021-12-20 17:37:34 +08:00