Git File Browser

User: usernamegoeshere | Repo: argocd
← Back
octopub-development.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: octopub-development
  namespace: argocd
  annotations:
    argo.octopus.com/project.octopub-development: "argo-cd-octopub"
    argo.octopus.com/environment.octopub-development: "development"
    argo.octopus.com/project.ref-source: "argo-cd-octopub"
    argo.octopus.com/environment.ref-source: "development"
    # See https://octopus.com/docs/argo-cd/annotations/helm-annotations
    argo.octopus.com/image-replace-paths.octopub-development: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
spec:
  project: default
  sources:
    - name: octopub-development
      repoURL: https://mockgit.octopus.com/repo/argocd
      path: "octopub/octopub-frontend"
      targetRevision: main
      helm:
        valueFiles:
          - $remote-values/octopub/values/octopub-development-values.yaml
    - name: ref-source
      repoURL: https://mockgit.octopus.com/repo/argocd
      targetRevision: main
      ref: remote-values

  destination:
    server: https://kubernetes.default.svc
    namespace: octopub-development
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
    - CreateNamespace=true