website-and-documentation/argocd-stack/docs.yaml
Martin McCaffery 4759bdbe5c
Some checks failed
Hugo Site Tests / test (push) Failing after 1s
ci / build (push) Successful in 57s
feat(deployment): add ArgoCD deployment stack
2025-12-17 16:21:23 +01:00

34 lines
813 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: docs
namespace: argocd
labels:
env: prod
spec:
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
destination:
name: in-cluster
namespace: docs
syncOptions:
- CreateNamespace=true
sources:
- repoURL: https://edp.buildth.ing/DevFW-CICD/website-and-documentation
targetRevision: HEAD
path: argocd-stack/docs
kustomize:
patches:
- target:
kind: Deployment
name: docs
patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: edp.buildth.ing/devfw-cicd/website-and-documentation:$ARGOCD_APP_REVISION