postgres-auth added

This commit is contained in:
titver968
2025-10-07 08:08:52 +02:00
parent 9aa893e109
commit 77dc5a7294
3 changed files with 16 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: postgresql-auth
namespace: openproject
type: Opaque
stringData:
postgres-password: InnoPG_2025
password: InnoDB_2025
username: openproject
database: openproject

View File

@@ -1,9 +0,0 @@
#apiVersion: v1
#kind: Secret
#type: Opaque
#metadata:
# name: postgresql-secret
# namespace: openproject
#stringData:
# postgres-password: InnoHubPostgres_2025
# password: InnoProjectDB_2025

View File

@@ -62,16 +62,16 @@ spec:
bundled: true bundled: true
auth: auth:
# Option 1: Use existingSecret (recommended for production) # Option 1: Use existingSecret (recommended for production)
# existingSecret: "postgresql-secrets" existingSecret: "postgresql-auth"
# The secret must contain these keys: # The secret must contain these keys:
# - postgres-password (PostgreSQL superuser password) # - postgres-password (PostgreSQL superuser password)
# - password (openproject user password) # - password (openproject user password)
# Option 2: Set passwords directly (not recommended for production) # Option 2: Set passwords directly (not recommended for production)
username: "openproject" # username: "openproject"
password: "openproject123" # password: "openproject123"
postgresPassword: "postgres123" # postgresPassword: "postgres123"
database: "openproject" # database: "openproject"
global: global:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
primary: primary: