Fix: Remove ServerSideApply and add ignoreDifferences for StatefulSet volumeClaimTemplates
This commit is contained in:
parent
ff444d09b3
commit
b094fe6fec
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user