feat: add app for extra storageclass (longhorn-static)
This commit is contained in:
parent
1bb255f73b
commit
30b0b6b586
2 changed files with 33 additions and 0 deletions
20
apps/extra-storageclass.yaml
Normal file
20
apps/extra-storageclass.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: extra-storageclass
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "10"
|
||||
spec:
|
||||
project: cluster-infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
source:
|
||||
path: manifests/storageclass/
|
||||
repoURL: https://github.com/vojtechmares/cthulhunetes-gitops.git
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: longhorn-system
|
||||
13
manifests/storageclass/longhorn-static.yaml
Normal file
13
manifests/storageclass/longhorn-static.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: longhorn-static
|
||||
provisioner: driver.longhorn.io
|
||||
reclaimPolicy: Retain
|
||||
volumeBindingMode: Immediate
|
||||
allowVolumeExpansion: true
|
||||
parameters:
|
||||
fromBackup: ""
|
||||
fsType: ext4
|
||||
numberOfReplicas: "1"
|
||||
staleReplicaTimeout: "2880"
|
||||
Reference in a new issue