Compare commits

...

2 commits

Author SHA1 Message Date
70ada7c07d Push the annotation to the right level
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-06-30 13:30:07 +00:00
f545e8f181 Stop kustomize moaning
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-06-30 13:29:03 +00:00
2 changed files with 19 additions and 16 deletions

View file

@ -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

View file

@ -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