Skip to content

Commit

Permalink
Enable syncWindows property in Argo Projects (#135)
Browse files Browse the repository at this point in the history
* Enable syncWindows property in Argo Projects

* Bump chart version
  • Loading branch information
lukasgomez authored May 10, 2024
1 parent 0405b2f commit 3da29ae
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/argocd-app-bootstrap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0.0"
description: Helm chart to automatically provision ArgoCD application and projects
name: argocd-app-bootstrap
version: 1.0.18
version: 1.0.19
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 3da29ae

Please sign in to comment.