apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: octopub-manifest-parent-production
namespace: argocd
annotations:
argo.octopus.com/project.octopub-manifest-parent-production: "argo-cd-octopub-manifest"
argo.octopus.com/environment.octopub-manifest-parent-production: "production"
spec:
project: default
sources:
- name: octopub-manifest-parent-production
repoURL: https://mockgit.octopus.com/repo/argocd
# This is the destination folder where the template manifest files are placed
path: "octopub-manifest/application/production"
targetRevision: main
destination:
server: https://kubernetes.default.svc
namespace: octopub-manifest-parent-production
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true