Added Nextcloud to new cluster

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2024-04-06 15:46:20 +01:00
parent d7e7b2d5d0
commit 6fb995919e
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 51 additions and 26 deletions

View File

@ -22,3 +22,29 @@ spec:
- kind: Secret - kind: Secret
jsonPointers: jsonPointers:
- /data - /data
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cluster-fun-nextcloud
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: nextcloud
name: cluster-fun (v2)
source:
path: manifests/nextcloud_chart
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
syncOptions:
- CreateNamespace=true
automated: {}
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
---

View File

@ -1,27 +1,27 @@
apiVersion: v1 # apiVersion: v1
kind: PersistentVolume # kind: PersistentVolume
metadata: # metadata:
annotations: # annotations:
pv.kubernetes.io/provisioned-by: csi.scaleway.com # pv.kubernetes.io/provisioned-by: csi.scaleway.com
finalizers: # finalizers:
- kubernetes.io/pv-protection # - kubernetes.io/pv-protection
- external-attacher/csi-scaleway-com # - external-attacher/csi-scaleway-com
name: pvc-db95ada8-d8e4-400a-acea-7d594ecffa36 # name: pvc-db95ada8-d8e4-400a-acea-7d594ecffa36
spec: # spec:
accessModes: # accessModes:
- ReadWriteOnce # - ReadWriteOnce
capacity: # capacity:
storage: 5Gi # storage: 5Gi
csi: # csi:
driver: csi.scaleway.com # driver: csi.scaleway.com
fsType: ext4 # fsType: ext4
volumeAttributes: # volumeAttributes:
storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com # storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com
volumeHandle: fr-par-1/5c16182d-f742-4ae5-a70c-386aa356f906 # volumeHandle: fr-par-1/5c16182d-f742-4ae5-a70c-386aa356f906
persistentVolumeReclaimPolicy: Retain # persistentVolumeReclaimPolicy: Retain
storageClassName: scw-bssd-retain # storageClassName: scw-bssd-retain
volumeMode: Filesystem # volumeMode: Filesystem
--- # ---
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
@ -38,6 +38,5 @@ spec:
resources: resources:
requests: requests:
storage: "5Gi" storage: "5Gi"
storageClassName: "scw-bssd-retain" storageClassName: sbs-default-retain
volumeName: pvc-db95ada8-d8e4-400a-acea-7d594ecffa36
--- ---