Skip to content

Commit 2dbcfbd

Browse files
fix: correct syncPolicy indentation and add sync-wave to PostgresCluster
- Fix nginx application.yaml syncPolicy indentation (was inside source block) - Add sync-wave: "3" to PostgresCluster to wait for pgo-operator CRDs - Add SkipDryRunOnMissingResource to avoid sync failures 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent cb438cf commit 2dbcfbd

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

platform/infrastructure/networking/nginx/base/application.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,7 @@ spec:
3030
enabled: true
3131
admissionWebhooks:
3232
enabled: false
33-
# syncPolicy:
34-
# automated:
35-
# selfHeal: true
36-
# prune: true
37-
# syncOptions:
38-
# - CreateNamespace=true
39-
# - Replace=true # Для пересоздания проблемных ресурсов
40-
syncPolicy:
33+
syncPolicy:
4134
automated:
4235
allowEmpty: true
4336
selfHeal: true

tenants/product-team/apps/chat/overlays/dev/postgres-cluster.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ kind: PostgresCluster
33
metadata:
44
name: chat-db
55
namespace: chat-api
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "3"
8+
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
69
spec:
710
postgresVersion: 16
811

0 commit comments

Comments
 (0)