fix: harden GitOps deploy and rollback
All checks were successful
Build (develop) / Promote (main) / build-and-push-deploy (push) Successful in 1m22s

This commit is contained in:
2026-01-29 15:21:07 -03:00
parent ecd298442b
commit fd17be5408
7 changed files with 45 additions and 15 deletions

View File

@@ -5,7 +5,15 @@ metadata:
labels:
app: vendaweb-api
spec:
replicas: 15
replicas: 3
revisionHistoryLimit: 5
minReadySeconds: 10
progressDeadlineSeconds: 600
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: vendaweb-api
@@ -16,6 +24,7 @@ spec:
spec:
imagePullSecrets:
- name: gitea-auth
terminationGracePeriodSeconds: 30
containers:
- name: api
image: git.simplifiquehc.com.br/simplifique/vendaweb-api:589fa29