Add PostgreSQL from Bitnami (urgh I know)
This commit is contained in:
parent
1a55f8c4f5
commit
c2f864ed79
2 changed files with 39 additions and 0 deletions
|
@ -15,6 +15,9 @@ spec:
|
|||
- name: mariadb-database
|
||||
path: applications/30-databases/mariadb-database
|
||||
wave: 2
|
||||
- name: postgresql
|
||||
path: applications/30-databases/postgresql
|
||||
wave: 2
|
||||
template:
|
||||
metadata:
|
||||
name: '{{.name}}'
|
||||
|
|
36
applications/30-databases/postgresql/bitnami.yaml
Normal file
36
applications/30-databases/postgresql/bitnami.yaml
Normal file
|
@ -0,0 +1,36 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: postgresql
|
||||
namespace: argocd # Replace with your Argo CD namespace if different
|
||||
spec:
|
||||
project: default
|
||||
|
||||
source:
|
||||
repoURL: https://charts.bitnami.com/bitnami
|
||||
chart: postgresql
|
||||
targetRevision: 15.2.5 # or 'latest' to always get the newest version
|
||||
helm:
|
||||
releaseName: postgresql
|
||||
values: |
|
||||
auth:
|
||||
postgresPassword: mysupersecretpassword
|
||||
username: myuser
|
||||
password: myuserpassword
|
||||
database: mydb
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 8Gi
|
||||
architecture: standalone
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: database
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
Loading…
Add table
Add a link
Reference in a new issue