turash/k8s/argocd/frontend-application.yaml
Damir Mukimov c60fd6a91f
Some checks failed
CI/CD Pipeline / backend-lint (push) Failing after 1m18s
CI/CD Pipeline / frontend-lint (push) Failing after 1m22s
CI/CD Pipeline / e2e-test (push) Has been skipped
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / backend-build (push) Has been skipped
Configure k8s manifests for Argo CD deployment
- Add namespace.yaml for turash namespace
- Add frontend manifests (deployment, service, HPA, ingress)
- Add kustomization.yaml for Argo CD kustomize support
- Update frontend Argo CD application with proper annotations
- Configure ingress with domain turash.bk.glpx.pro for Argo CD link display
- Use registry.bk.glpx.pro for container images
2025-12-24 22:52:02 +01:00

51 lines
1.1 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: turash-frontend
namespace: argocd
labels:
app: turash-frontend
environment: production
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
# Enable ingress link display in Argo CD UI
argocd.argoproj.io/refresh: normal
spec:
project: default
source:
repoURL: https://gitea.bk.glpx.pro/mukimovd/turash.git
targetRevision: master
path: k8s
kustomize: {}
destination:
server: https://kubernetes.default.svc
namespace: turash
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
revisionHistoryLimit: 10
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas
- group: autoscaling
kind: HorizontalPodAutoscaler
jsonPointers:
- /spec/minReplicas
- /spec/maxReplicas