[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:
Lukas Jost
2021-02-22 09:28:30 +01:00
committed by GitHub
parent 995271aa87
commit fdb81454d9
3 changed files with 16 additions and 1 deletions

View File

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

View File

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

View File

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