From 835aedd928de99b29f7bba132b3c47a9ad0eb709 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 20 Mar 2026 01:16:37 +0200 Subject: [PATCH] Ignore pvc on gitea --- argocd-apps/gitea.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/argocd-apps/gitea.yaml b/argocd-apps/gitea.yaml index e92df12..207b1c7 100644 --- a/argocd-apps/gitea.yaml +++ b/argocd-apps/gitea.yaml @@ -5,10 +5,8 @@ metadata: namespace: argocd labels: env: dev-tools - spec: project: dev-tools - source: repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local:2222/dvirlabs/dev-tools.git' targetRevision: HEAD @@ -16,11 +14,9 @@ spec: helm: valueFiles: - ../../manifests/gitea/values.yaml - destination: server: https://kubernetes.default.svc namespace: dev-tools - syncPolicy: automated: prune: true @@ -28,16 +24,14 @@ spec: syncOptions: - CreateNamespace=true - PrunePropagationPolicy=foreground - + - RespectIgnoreDifferences=true ignoreDifferences: - # StatefulSet → PVC templates are immutable → must ignore - group: apps kind: StatefulSet namespace: dev-tools jsonPointers: - /spec/volumeClaimTemplates - # PVC → Kubernetes mutates these fields - group: "" kind: PersistentVolumeClaim namespace: dev-tools @@ -45,7 +39,6 @@ spec: - /status - /spec/volumeName - # Service → clusterIP is auto-assigned - group: "" kind: Service namespace: dev-tools