Compare commits

..
2 Commits
Author SHA1 Message Date
Jeffrey 8fa2cb558e infisical: ignore the volumeClaimTemplate fields argocd cannot reconcile
A StatefulSet's volumeClaimTemplates are immutable, and the API server
injects creationTimestamp, volumeMode and a status block that are not in
the manifest. ArgoCD diffed those and reported OutOfSync permanently,
since no sync could ever resolve them.

infisical-postgres and infisical-valkey are the only StatefulSets here
using volumeClaimTemplates, which is why this app alone was affected.
2026-08-29 18:00:35 +02:00
Jeffrey 7a937dae07 gitea: drop the orphaned runner pvc that could never bind
gitea-runner-pvc referenced volumeName gitea-runner-data, but neither that
PV nor a Longhorn volume of that name exists, so it sat Pending since May.
ArgoCD treats a Pending PVC as Progressing and rolled that up to the whole
app, which is why gitea never reported Healthy.

Nothing mounted it. The runner uses the PVC the gitea/actions chart
generates from its own volumeClaimTemplate.
2026-08-29 18:00:28 +02:00
2 changed files with 13 additions and 13 deletions
@@ -1,13 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-runner-pvc
namespace: gitea
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-static
volumeName: gitea-runner-data
resources:
requests:
storage: 20Gi
@@ -17,6 +17,19 @@ spec:
destination:
server: https://kubernetes.default.svc
namespace: infisical
# A StatefulSet's volumeClaimTemplates are immutable, and the API server
# injects fields into them that are not in the manifest (creationTimestamp,
# volumeMode, a status block). ArgoCD diffs those and reports OutOfSync
# forever, since syncing can never resolve them. infisical-postgres and
# infisical-valkey are the only StatefulSets here using volumeClaimTemplates,
# which is why this app alone was affected.
ignoreDifferences:
- group: apps
kind: StatefulSet
jqPathExpressions:
- '.spec.volumeClaimTemplates[]?.metadata.creationTimestamp'
- '.spec.volumeClaimTemplates[]?.spec.volumeMode'
- '.spec.volumeClaimTemplates[]?.status'
syncPolicy:
automated:
prune: true