Skip to content

Instantly share code, notes, and snippets.

@prashant-hariharan
Created May 8, 2024 10:32
Show Gist options
  • Save prashant-hariharan/d53ed7aac1bdc8fc73d6a974f5326c9a to your computer and use it in GitHub Desktop.
Save prashant-hariharan/d53ed7aac1bdc8fc73d6a974f5326c9a to your computer and use it in GitHub Desktop.
Argo cd configuration
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