diff --git a/apps/extra-storageclass.yaml b/apps/extra-storageclass.yaml new file mode 100644 index 0000000..452697f --- /dev/null +++ b/apps/extra-storageclass.yaml @@ -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 diff --git a/manifests/storageclass/longhorn-static.yaml b/manifests/storageclass/longhorn-static.yaml new file mode 100644 index 0000000..1d2316f --- /dev/null +++ b/manifests/storageclass/longhorn-static.yaml @@ -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"