Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Created April 20, 2020 03:20
Show Gist options
  • Save akash-gautam/8045436e235818921e17145efb535373 to your computer and use it in GitHub Desktop.
Save akash-gautam/8045436e235818921e17145efb535373 to your computer and use it in GitHub Desktop.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: message-app-staging
namespace: argocd
environment: staging
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
# Source of the application manifests
source:
repoURL: https://github.com/akash-gautam/message-app-manifests.git
targetRevision: HEAD
path: manifests/staging
# Destination cluster and namespace to deploy the application
destination:
server: https://kubernetes.default.svc
namespace: staging
syncPolicy:
automated:
prune: false
selfHeal: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment