mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
[bitnami/harbor] Add variable to assign postgres password via an existing secret (#5542)
* add variable to assign postgres password via an existing secret * bump chart version * update README according to changes * fix typo in README comment existingSecret because it is not a default setting * remove unnecessary space in README * fixed table indentation * add starting space to comment to fix lint task * add example for postgres secret change from patch to minor change in version * add missing new line at end of file
This commit is contained in:
@@ -34,4 +34,4 @@ sources:
|
||||
- https://github.com/bitnami/bitnami-docker-harbor-registry
|
||||
- https://github.com/bitnami/bitnami-docker-harbor-registryctl
|
||||
- https://goharbor.io/
|
||||
version: 9.4.7
|
||||
version: 9.5.0
|
||||
|
||||
@@ -700,6 +700,7 @@ The following tables list the configurable parameters of the Harbor chart and th
|
||||
| `postgresql.nameOverride` | String to partially override common.names.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `postgresql.postgresqlUsername` | Postgresql username | `postgres` |
|
||||
| `postgresql.postgresqlPassword` | Postgresql password | `not-a-secure-database-password` |
|
||||
| `postgresql.existingSecret` | Set Postgresql password via an existing secret | `nil` |
|
||||
| `postgresql.postgresqlExtendedConf` | Extended runtime config parameters (appended to main or default configuration) | `{"maxConnections": "1024"}` |
|
||||
| `postgresql.replication.enabled` | Enable replicated postgresql | `false` |
|
||||
| `postgresql.persistence.enabled` | Enable persistence for PostgreSQL | `true` |
|
||||
|
||||
@@ -2685,6 +2685,20 @@ postgresql:
|
||||
nameOverride:
|
||||
postgresqlUsername: postgres
|
||||
postgresqlPassword: not-secure-database-password
|
||||
## Name of existing secret to use for PostgreSQL passwords.
|
||||
## If an existingSecret is used it will overwrite postgresqlUsername and postgresqlPassword.
|
||||
## The secret has to contain at least the key postgresql-postgres-password.
|
||||
##
|
||||
## Example Secret:
|
||||
## apiVersion: v1
|
||||
## kind: Secret
|
||||
## metadata:
|
||||
## name: mysecret
|
||||
## type: Opaque
|
||||
## data:
|
||||
## postgresqlUsername: YWRtaW4=
|
||||
## postgresqlPassword: MWYyZDFlMmU2N2Rm
|
||||
# existingSecret: secret
|
||||
postgresqlExtendedConf:
|
||||
maxConnections: 1024
|
||||
replication:
|
||||
|
||||
Reference in New Issue
Block a user