Created
February 18, 2022 11:00
-
-
Save nivogt/034754e4c4d2e9c238c2f235104e13cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: argoproj.io/v1alpha1 | |
kind: AppProject | |
metadata: | |
name: applications-project | |
namespace: argocd | |
finalizers: | |
- resources-finalizer.argocd.argoproj.io | |
spec: | |
description: Project for parent applicatons used when employing app of apps pattern | |
sourceRepos: | |
- <-- your source helm chart repositoty here | |
# | |
# Define sync window | |
# | |
syncWindows: | |
- kind: allow | |
schedule: '5 * * * *' | |
duration: 1h | |
applications: | |
- '*' | |
manualSync: true | |
# | |
# Allow this project to deploy only to 'argocd' namespace | |
# | |
destinations: | |
- namespace: argocd | |
server: https://kubernetes.default.svc | |
- namespace: monitoring | |
server: https://XXXXXXXXXXXXXXX.XXX.eu-west-3.eks.amazonaws.com | |
<-- add any other namespace / cluster association here | |
clusterResourceWhitelist: | |
- group: 'argoproj.io' | |
kind: Application | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment