-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpostgres_argocd_app.yaml
57 lines (57 loc) · 1.41 KB
/
postgres_argocd_app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgres
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
destination:
server: 'https://kubernetes.default.svc'
namespace: postgres
source:
chart: postgresql
repoURL: 'https://charts.bitnami.com/bitnami'
targetRevision: 16.4.8
helm:
skipCrds: true
values: |
global:
postgresql:
auth:
username: "admin"
database: "config"
existingSecret: "postgres"
secretKeys:
adminPasswordKey: "POSTGRES_USER_PASSWORD"
userPasswordKey: "POSTGRES_ADMIN_PASSWORD"
replicationPasswordKey: "POSTGRES_REPLICATION_PASSWORD"
image:
registry: docker.io
repository: bitnami/postgresql
tag: 15.2.0-debian-11-r5
digest: ""
primary:
resources:
limits:
memory: 500Mi
cpu: 1000m
requests:
memory: 256Mi
cpu: 250m
persistence:
mountPath: /bitnami/postgresql
size: 2Gi
service:
type: LoadBalancer
metrics:
enabled: true
syncPolicy:
syncOptions:
- CreateNamespace=true
- Replace=true
automated:
selfHeal: true
prune: true