Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created July 18, 2021 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bharatmicrosystems/c5d648bbe7b2f2d2a3eae934ad52a613 to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/c5d648bbe7b2f2d2a3eae934ad52a613 to your computer and use it in GitHub Desktop.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: my-nginx
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/bharatmicrosystems/argo-cd-example.git
targetRevision: HEAD
path: manifests/nginx
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
selfHeal: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment