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:
|
helmCharts:
|
||||||
- repo: https://raw.githubusercontent.com/hansehe/postgres-helm/master/helm/charts/postgres
|
- name: postgres
|
||||||
name: postgres
|
|
||||||
releaseName: pg4nc
|
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
|
releaseName: pg4nc
|
||||||
|
repo: https://raw.githubusercontent.com/hansehe/postgres-helm/master/helm/charts/postgres
|
||||||
valuesInline:
|
valuesInline:
|
||||||
environmentVariables:
|
environmentVariables:
|
||||||
POSTGRES_USER: nextcloud
|
|
||||||
POSTGRES_PASSWORD: hmj@geq1jdw7pfg8BDC
|
|
||||||
POSTGRES_DB: nextcloud
|
POSTGRES_DB: nextcloud
|
||||||
|
POSTGRES_PASSWORD: hmj@geq1jdw7pfg8BDC
|
||||||
|
POSTGRES_USER: nextcloud
|
||||||
volume:
|
volume:
|
||||||
className: longhorn-single
|
className: longhorn-single
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- statefulset.yaml
|
kind: Kustomization
|
||||||
|
patches:
|
||||||
|
- path: statefulset.yaml
|
||||||
|
|
|
@ -3,8 +3,6 @@ kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: pg4nc-postgres
|
name: pg4nc-postgres
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
annotations:
|
|
||||||
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
@ -23,6 +21,9 @@ metadata:
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
|
|
Loading…
Add table
Reference in a new issue