Files
kub-web-test/bootstrap/01-argocd-applications.yaml
T
2026-09-10 13:57:05 +02:00

84 lines
1.7 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: web-dev
namespace: argocd
annotations:
kargo.akuity.io/authorized-stage: web:dev
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: web-dev
source:
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
targetRevision: dev
path: .
helm:
releaseName: web-dev
valueFiles:
- values-dev.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: web-staging
namespace: argocd
annotations:
kargo.akuity.io/authorized-stage: web:staging
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: web-staging
source:
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
# Baseline only. Kargo pins this live to the exact promoted dev commit.
targetRevision: prod
path: .
helm:
releaseName: web-staging
valueFiles:
- values-staging.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: web-prod
namespace: argocd
annotations:
kargo.akuity.io/authorized-stage: web:prod
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: web-prod
source:
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
targetRevision: prod
path: .
helm:
releaseName: web-prod
valueFiles:
- values-prod.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true