- Add ArgoCD Application definitions for each app - Add Kubernetes Deployment, Service, Ingress for each app - Add ExternalSecret for todo (Vault integration) - Configure Traefik ingress with Let's Encrypt TLS Domains: - jovies.kro.kr - minjo0213.kro.kr - todo0213.kro.kr
36 lines
780 B
YAML
36 lines
780 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: todo
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://github.com/K3S-HOME/web-apps.git
|
|
targetRevision: main
|
|
path: todo
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: todo
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
allowEmpty: false
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- PrunePropagationPolicy=foreground
|
|
- PruneLast=true
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|
|
managedNamespaceMetadata:
|
|
labels:
|
|
goldilocks.fairwinds.com/enabled: 'true'
|
|
revisionHistoryLimit: 10
|