From dcab90d2c99b99025a82c410deb10a2fd3db83ad Mon Sep 17 00:00:00 2001 From: jedarden Date: Sun, 19 Apr 2026 14:36:31 -0400 Subject: [PATCH] Add prod ArgoCD Application manifest for ardenone-cluster Matches the manifest already in declarative-config (commit 3d72934). OCI Helm chart at ghcr.io/jedarden/charts/miroir, automated sync with prune + selfHeal + ServerSideApply. Co-Authored-By: Claude Opus 4.7 --- k8s/argocd/miroir-application.yaml | 88 ++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 k8s/argocd/miroir-application.yaml diff --git a/k8s/argocd/miroir-application.yaml b/k8s/argocd/miroir-application.yaml new file mode 100644 index 0000000..23e9100 --- /dev/null +++ b/k8s/argocd/miroir-application.yaml @@ -0,0 +1,88 @@ +--- +# ArgoCD Application: miroir (prod) on ardenone-cluster +# Deploy to: jedarden/declarative-config → k8s/ardenone-cluster/miroir/ +# +# Prerequisites: +# - Namespace: miroir (namespace.yml) +# - ExternalSecret or manual Secret: miroir-keys +# (keys: masterKey, nodeMasterKey, adminApiKey) +# - Helm chart published to ghcr.io/jedarden/charts/miroir +# +# This file is the source of truth. Copy to declarative-config for ArgoCD sync. +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: miroir-ardenone-cluster + namespace: argocd + labels: + app.kubernetes.io/name: miroir + app.kubernetes.io/instance: miroir + app.kubernetes.io/component: application +spec: + project: default + source: + repoURL: ghcr.io/jedarden/charts + chart: miroir + targetRevision: 0.1.0 + helm: + valuesObject: + miroir: + replicas: 2 + shards: 64 + replicationFactor: 2 + replicaGroups: 2 + existingSecret: miroir-keys + logLevel: info + resources: + limits: + cpu: 1000m + memory: 1Gi + requests: + cpu: 250m + memory: 512Mi + taskStore: + backend: sqlite + path: /data/miroir-tasks.db + meilisearch: + enabled: true + replicas: 2 + nodesPerGroup: 2 + persistence: + enabled: true + size: 10Gi + resources: + limits: + cpu: 1000m + memory: 2Gi + requests: + cpu: 250m + memory: 512Mi + redis: + enabled: false + serviceMonitor: + enabled: true + interval: 30s + prometheusRule: + enabled: true + destination: + server: https://k3s-server-a.ardenone.com:6443 + namespace: miroir + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: true + syncOptions: + - Validate=true + - CreateNamespace=true + - PrunePropagationPolicy=foreground + - PruneLast=true + - RespectIgnoreDifferences=true + - ServerSideApply=true + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m + revisionHistoryLimit: 10