fix: nextcloud
This commit is contained in:
@@ -28,21 +28,6 @@ metadata:
|
||||
name: nextcloud-collabora
|
||||
---
|
||||
apiVersion: v1
|
||||
data:
|
||||
nextcloud-password: Y2hhbmdlbWU=
|
||||
nextcloud-username: YWRtaW4=
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: nextcloud
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: nextcloud
|
||||
app.kubernetes.io/version: 30.0.6
|
||||
helm.sh/chart: nextcloud-6.6.9
|
||||
name: nextcloud
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
@@ -517,11 +502,11 @@ spec:
|
||||
- name: PGDATA
|
||||
value: /bitnami/postgresql/data
|
||||
- name: POSTGRES_USER
|
||||
value: nextcloud
|
||||
value: oc_philiph
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: db-user
|
||||
key: db-pass
|
||||
name: nextcloud
|
||||
- name: POSTGRES_POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
@@ -553,7 +538,7 @@ spec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- exec pg_isready -U "nextcloud" -d "dbname=nextcloud" -h 127.0.0.1 -p
|
||||
- exec pg_isready -U "oc_philiph" -d "dbname=nextcloud" -h 127.0.0.1 -p
|
||||
5432
|
||||
failureThreshold: 6
|
||||
initialDelaySeconds: 30
|
||||
@@ -571,7 +556,7 @@ spec:
|
||||
- -c
|
||||
- -e
|
||||
- |
|
||||
exec pg_isready -U "nextcloud" -d "dbname=nextcloud" -h 127.0.0.1 -p 5432
|
||||
exec pg_isready -U "oc_philiph" -d "dbname=nextcloud" -h 127.0.0.1 -p 5432
|
||||
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized ]
|
||||
failureThreshold: 6
|
||||
initialDelaySeconds: 5
|
||||
|
||||
@@ -453,8 +453,8 @@ postgresql:
|
||||
postgresql:
|
||||
# global.postgresql.auth overrides postgresql.auth
|
||||
auth:
|
||||
username: nextcloud
|
||||
password: changeme
|
||||
username: oc_philiph
|
||||
password: ""
|
||||
database: nextcloud
|
||||
# Name of existing secret to use for PostgreSQL credentials.
|
||||
# auth.postgresPassword, auth.password, and auth.replicationPassword will be ignored and picked up from this secret.
|
||||
@@ -464,8 +464,8 @@ postgresql:
|
||||
# Names of keys in existing secret to use for PostgreSQL credentials
|
||||
secretKeys:
|
||||
adminPasswordKey: postgres-password
|
||||
userPasswordKey: db-user
|
||||
replicationPasswordKey: db-pass
|
||||
userPasswordKey: db-pass
|
||||
replicationPasswordKey: postgres-repl-pass
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user