REFACTOR(postgresql): rename pg-cnpg namespace and folder

- Rename to postgresql
- Standardize naming convention
This commit is contained in:
2025-12-29 20:51:49 +09:00
parent a586febc4c
commit 75a165b474
7 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgresql
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/Mayne0213/databases.git
targetRevision: main
path: postgresql
destination:
server: https://kubernetes.default.svc
namespace: postgresql
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ServerSideApply=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10