---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: woodpecker
  namespace: argocd
spec:
  project: default
  sources:
    - chart: woodpecker
      repoURL:  https://woodpecker-ci.org/
      targetRevision: 1.5.0
      helm:
        releaseName: woodpecker
        valueFiles:
        - $values/woodpecker/values.yaml
    - repoURL: https://git.ar21.de/aaron/woodpecker-deployment.git
      targetRevision: HEAD
      ref: values
  destination:
    server: https://kubernetes.default.svc
    namespace: woodpecker
  syncPolicy:
    syncOptions:
    - CreateNamespace=true
    automated:
      prune: false