Compare commits
2 commits
779de2cdb1
...
70ada7c07d
Author | SHA1 | Date | |
---|---|---|---|
70ada7c07d | |||
f545e8f181 |
2 changed files with 19 additions and 16 deletions
|
@ -1,16 +1,18 @@
|
|||
helmCharts:
|
||||
- repo: https://raw.githubusercontent.com/hansehe/postgres-helm/master/helm/charts/postgres
|
||||
name: postgres
|
||||
releaseName: pg4nc
|
||||
namespace: nextcloud
|
||||
valuesInline:
|
||||
environmentVariables:
|
||||
POSTGRES_USER: nextcloud
|
||||
POSTGRES_PASSWORD: hmj@geq1jdw7pfg8BDC
|
||||
POSTGRES_DB: nextcloud
|
||||
volume:
|
||||
className: longhorn-single
|
||||
enabled: true
|
||||
- name: postgres
|
||||
namespace: nextcloud
|
||||
releaseName: pg4nc
|
||||
repo: https://raw.githubusercontent.com/hansehe/postgres-helm/master/helm/charts/postgres
|
||||
valuesInline:
|
||||
environmentVariables:
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_PASSWORD: hmj@geq1jdw7pfg8BDC
|
||||
POSTGRES_USER: nextcloud
|
||||
volume:
|
||||
className: longhorn-single
|
||||
enabled: true
|
||||
|
||||
patchesStrategicMerge:
|
||||
- statefulset.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
patches:
|
||||
- path: statefulset.yaml
|
||||
|
|
|
@ -3,8 +3,6 @@ kind: StatefulSet
|
|||
metadata:
|
||||
name: pg4nc-postgres
|
||||
namespace: nextcloud
|
||||
annotations:
|
||||
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
@ -23,6 +21,9 @@ metadata:
|
|||
namespace: nextcloud
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
|
|
Loading…
Add table
Reference in a new issue