-
-
Save prashant-hariharan/d53ed7aac1bdc8fc73d6a974f5326c9a to your computer and use it in GitHub Desktop.
Argo cd configuration
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: Application | |
metadata: | |
name: eks-demo-argo-application | |
namespace: argocd | |
spec: | |
project: default | |
source: | |
repoURL: https://github.com/prashant-hariharan/eks-argocd.git | |
targetRevision: HEAD | |
path: dev | |
destination: | |
server: https://kubernetes.default.svc | |
namespace: myapp | |
syncPolicy: | |
syncOptions: | |
- CreateNamespace=true | |
automated: | |
# The automated sync will create a new revision of the application when changes are detected. | |
# If we apply changes to cluster manually using kubectl, argocd will override it with self heal | |
selfHeal: true | |
prune: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment