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