fix: harden GitOps deploy and rollback
All checks were successful
Build (develop) / Promote (main) / build-and-push-deploy (push) Successful in 1m22s
All checks were successful
Build (develop) / Promote (main) / build-and-push-deploy (push) Successful in 1m22s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user