Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created July 18, 2021 06:59
Show Gist options
  • Select an option

  • Save bharatmicrosystems/c5d648bbe7b2f2d2a3eae934ad52a613 to your computer and use it in GitHub Desktop.

Select an option

Save bharatmicrosystems/c5d648bbe7b2f2d2a3eae934ad52a613 to your computer and use it in GitHub Desktop.

Revisions

  1. bharatmicrosystems created this gist Jul 18, 2021.
    19 changes: 19 additions & 0 deletions my-nginx-app.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    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