feat: add ignore differences

This commit is contained in:
Nicholas Morey 2023-01-13 12:07:57 -05:00
parent a286fba113
commit f918621408
2 changed files with 9 additions and 3 deletions

View File

@ -18,4 +18,10 @@ spec:
automated: {}
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
- CreateNamespace=true
ignoreDifferences:
- group: apps
kind: Deployment
namespace: sleepme
jsonPointers:
- /spec/replicas

View File

@ -51,8 +51,8 @@ spec:
weekdays: "*"
# sleepAt: "*:*/5"
# wakeUpAt: "*:*/7"
sleepAt: "12:00"
wakeUpAt: "12:05"
sleepAt: "12:10"
wakeUpAt: "12:15"
timeZone: "America/Toronto"
excludeRef:
- apiVersion: "apps/v1"