Skip to content

Commit

Permalink
Enable syncWindows property in Argo Projects
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgomez committed May 10, 2024
1 parent 0405b2f commit fc78348
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/argocd-app-bootstrap/templates/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ spec:
{{- with $projectSettings.extraRoles }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with $projectSettings.syncWindows }}
syncWindows:
{{- toYaml . | nindent 2 }}
{{- end }}
---
{{- end }}
11 changes: 11 additions & 0 deletions charts/argocd-app-bootstrap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ projects:
destinations: []
sourceRepos: []
adminGroups: []
syncWindows:
# - kind: allow
# schedule: "45 7 * * 1-5"
# duration: "10h"
# timezone: "Europe/Madrid"
# manualSync: true
# - kind: deny
# schedule: "45 11 * * 5-6"
# duration: "6h"
# timezone: "Europe/Madrid"
# manualSync: true
# applications:
# - name: app-name
# enabled: true
Expand Down

0 comments on commit fc78348

Please sign in to comment.