Changed prune policy

This commit is contained in:
nold 2021-11-28 21:50:45 +01:00
parent 837f21c85a
commit bcf7b46d1c

View file

@ -16,9 +16,8 @@ defaults:
syncOptions: # Sync options which modifies sync behavior
- Validate=true # disables resource validation (equivalent to 'kubectl apply --validate=false') ( true by default ).
- CreateNamespace=false # Namespace Auto-Creation ensures that namespace specified as the application destination exists in the destination cluster.
- PrunePropagationPolicy=background # Supported policies are background, foreground and orphan.
- PruneLast=true # Allow the ability for resource pruning to happen as a final, implicit wave of a sync operation
# The retry feature is available since v1.7
- PrunePropagationPolicy=foreground # Supported policies are background, foreground and orphan.
- PruneLast=false # Allow the ability for resource pruning to happen as a final, implicit wave of a sync operation
retry:
limit: 5 # number of failed sync attempt retries; unlimited number of attempts if less than 0
backoff: