Git File Browser

User: usernamegoeshere | Repo: argocd
← Back
octopub-test.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: octopub-test
  namespace: argocd
  annotations:
    argo.octopus.com/project.octopub-test: "argo-cd-octopub"
    argo.octopus.com/environment.octopub-test: "test"
    argo.octopus.com/project.ref-source: "argo-cd-octopub"
    argo.octopus.com/environment.ref-source: "test"
    # See https://octopus.com/docs/argo-cd/annotations/helm-annotations
    argo.octopus.com/image-replace-paths.octopub-test: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
spec:
  project: default
  sources:
  - name: octopub-test
    repoURL: https://mockgit.octopus.com/repo/argocd
    path: "octopub/octopub-frontend"
    targetRevision: main
    helm:
      valueFiles:
        - $remote-values/octopub/values/octopub-test-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-test
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
    - CreateNamespace=true