Skip to content

Instantly share code, notes, and snippets.

@tuannvm
Last active October 9, 2022 00:34
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 tuannvm/407ff9753a007cc2da115c3139a13f02 to your computer and use it in GitHub Desktop.
Save tuannvm/407ff9753a007cc2da115c3139a13f02 to your computer and use it in GitHub Desktop.
#argo #cd #rollout #workflow #event
argocd cluster add docker-desktop

https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/cluster

Application Definition

https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#applications

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: guestbook
  namespace: argocd
spec:
  project: default
  source:
    repoURL: https://github.com/argoproj/argocd-example-apps.git
    targetRevision: HEAD
    path: guestbook
  destination:
    server: https://kubernetes.default.svc
    namespace: guestbook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment