feat: added longhorn addon (#1204)
* added longhorn addon * enabled longhorn in the tests * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa> Co-authored-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
965bfcdcb9
commit
8a840e1f2e
12 files changed
+148
-1
No files matched your search
@@ -10,6 +10,10 @@ spec:
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
dependsOn:
|
||||
- name: longhorn
|
||||
#% endif %#
|
||||
path: ./kubernetes/apps/storage/volsync/snapshot-controller
|
||||
prune: true
|
||||
sourceRef:
|
||||
|
||||
+11
@@ -27,6 +27,17 @@ spec:
|
||||
keepHistory: false
|
||||
values:
|
||||
controller:
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
volumeSnapshotClasses:
|
||||
- name: longhorn-snapclass
|
||||
annotations:
|
||||
snapshot.storage.kubernetes.io/is-default-class: "true"
|
||||
driver: driver.longhorn.io
|
||||
deletionPolicy: Delete
|
||||
# Ref: https://github.com/longhorn/longhorn/issues/2534#issuecomment-1010508714
|
||||
parameters:
|
||||
type: snap
|
||||
#% endif %#
|
||||
serviceMonitor:
|
||||
create: true
|
||||
webhook:
|
||||
|
||||
Reference in new issue
Block a user