Fix: Remove ServerSideApply and add ignoreDifferences for StatefulSet volumeClaimTemplates

This commit is contained in:
dvirlabs 2026-05-17 08:18:10 +03:00
parent ff444d09b3
commit b094fe6fec

View File

@ -20,6 +20,12 @@ spec:
server: https://kubernetes.default.svc
namespace: mail
ignoreDifferences:
- group: apps
kind: StatefulSet
jqPathExpressions:
- '.spec.volumeClaimTemplates[]?'
syncPolicy:
automated:
prune: true
@ -27,7 +33,7 @@ spec:
allowEmpty: false
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- RespectIgnoreDifferences=true
retry:
limit: 5
backoff: