Skip to content

Commit

Permalink
docs: syncWindows in project.yaml (argoproj#10591)
Browse files Browse the repository at this point in the history
* docs: syncWindows in project.yaml

Signed-off-by: Michael Crenshaw <[email protected]>

* trailing newline

Signed-off-by: Michael Crenshaw <[email protected]>

Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev authored Oct 1, 2022
1 parent b6741aa commit 11c44f2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/operator-manual/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,23 @@ spec:
# anywhere by Argo CD. It can be prematurely revoked by removing the entry from this list.
jwtTokens:
- iat: 1535390316

# Sync windows restrict when Applications may be synced. https://argo-cd.readthedocs.io/en/stable/user-guide/sync_windows/
syncWindows:
- kind: allow
schedule: '10 1 * * *'
duration: 1h
applications:
- '*-prod'
manualSync: true
- kind: deny
schedule: '0 22 * * *'
duration: 1h
namespaces:
- default
- kind: allow
schedule: '0 23 * * *'
duration: 1h
clusters:
- in-cluster
- cluster1

0 comments on commit 11c44f2

Please sign in to comment.