add CSI snapshotter to longhorn
This commit is contained in:
parent
bd0f9bafde
commit
c6ee7d5673
2 changed files with 9 additions and 0 deletions
|
@ -71,6 +71,9 @@ spec:
|
|||
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
||||
targetRevision: HEAD
|
||||
path: longhorn
|
||||
- repoURL: https://github.com/kubernetes-csi/external-snapshotter.git
|
||||
targetRevision: release-4.0
|
||||
path: client/config/crd
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: longhorn-system
|
||||
|
|
6
longhorn/volumesnapshotclass.yaml
Normal file
6
longhorn/volumesnapshotclass.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
kind: VolumeSnapshotClass
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn
|
||||
driver: driver.longhorn.io
|
||||
deletionPolicy: Delete
|
Loading…
Reference in a new issue