From 14221c8d08f833c185221f2214530f76860bb99c Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 6 Apr 2024 15:00:53 +0100 Subject: [PATCH] Added Mealie to new cluster Signed-off-by: Marcus Noble --- manifests/_apps/mealie.yaml | 30 +++++++++++++++++++++++ manifests/mealie/pvs.yaml | 49 ++++++++++++++++++------------------- 2 files changed, 54 insertions(+), 25 deletions(-) diff --git a/manifests/_apps/mealie.yaml b/manifests/_apps/mealie.yaml index 44571ad..7855534 100644 --- a/manifests/_apps/mealie.yaml +++ b/manifests/_apps/mealie.yaml @@ -26,3 +26,33 @@ spec: kind: Deployment jqPathExpressions: - .spec.template.spec.containers[]?.image +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-mealie + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: mealie + name: cluster-fun (v2) + source: + path: manifests/mealie + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data + - group: apps + kind: Deployment + jqPathExpressions: + - .spec.template.spec.containers[]?.image +--- diff --git a/manifests/mealie/pvs.yaml b/manifests/mealie/pvs.yaml index 357b19a..c1cbfdf 100644 --- a/manifests/mealie/pvs.yaml +++ b/manifests/mealie/pvs.yaml @@ -1,27 +1,27 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - annotations: - pv.kubernetes.io/provisioned-by: csi.scaleway.com - finalizers: - - kubernetes.io/pv-protection - - external-attacher/csi-scaleway-com - name: pvc-afe7fbb6-1f5a-4169-bad1-c9d43752ee7a -spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 2Gi - csi: - driver: csi.scaleway.com - fsType: ext4 - volumeAttributes: - encrypted: "false" - storage.kubernetes.io/csiProvisionerIdentity: 1646426415842-8081-csi.scaleway.com - volumeHandle: fr-par-1/efbe7dc1-4660-4db8-a3b4-42114075a318 - persistentVolumeReclaimPolicy: Retain - storageClassName: scw-bssd - volumeMode: Filesystem +# apiVersion: v1 +# kind: PersistentVolume +# metadata: +# annotations: +# pv.kubernetes.io/provisioned-by: csi.scaleway.com +# finalizers: +# - kubernetes.io/pv-protection +# - external-attacher/csi-scaleway-com +# name: pvc-afe7fbb6-1f5a-4169-bad1-c9d43752ee7a +# spec: +# accessModes: +# - ReadWriteOnce +# capacity: +# storage: 2Gi +# csi: +# driver: csi.scaleway.com +# fsType: ext4 +# volumeAttributes: +# encrypted: "false" +# storage.kubernetes.io/csiProvisionerIdentity: 1646426415842-8081-csi.scaleway.com +# volumeHandle: fr-par-1/efbe7dc1-4660-4db8-a3b4-42114075a318 +# persistentVolumeReclaimPolicy: Retain +# storageClassName: scw-bssd +# volumeMode: Filesystem --- kind: PersistentVolumeClaim @@ -35,5 +35,4 @@ spec: resources: requests: storage: 2Gi - volumeName: pvc-afe7fbb6-1f5a-4169-bad1-c9d43752ee7a ---