[bitnami/odoo] Add database filter env var (#19652)

* Add database filter env var

Signed-off-by: Luis Valdes <luis@valdes.com.br>

* Bump version

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

---------

Signed-off-by: Luis Valdes <luis@valdes.com.br>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Luis Valdés
2023-10-25 06:26:00 -03:00
committed by GitHub
parent d0b4f0f6fe
commit a74e9a1995
4 changed files with 7 additions and 1 deletions

View File

@@ -34,4 +34,4 @@ maintainers:
name: odoo
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/odoo
version: 24.0.5
version: 24.0.6

View File

@@ -96,6 +96,7 @@ The command removes all the Kubernetes components associated with the chart and
| `odooEmail` | Odoo user email | `user@example.com` |
| `odooPassword` | Odoo user password | `""` |
| `odooSkipInstall` | Skip Odoo installation wizard | `false` |
| `odooDatabaseFilter` | Filter odoo database by using a regex | `.*` |
| `loadDemoData` | Whether to load demo data for all modules during initialization | `false` |
| `customPostInitScripts` | Custom post-init.d user scripts | `{}` |
| `smtpHost` | SMTP server host | `""` |

View File

@@ -121,6 +121,8 @@ spec:
value: {{ template "odoo.databasePort" . }}
- name: ODOO_DATABASE_NAME
value: {{ template "odoo.databaseName" . }}
- name: ODOO_DATABASE_FILTER
value: {{ .Values.odooDatabaseFilter | quote }}
- name: ODOO_DATABASE_USER
value: {{ template "odoo.databaseUser" . }}
- name: ODOO_DATABASE_PASSWORD

View File

@@ -108,6 +108,9 @@ odooPassword: ""
## @param odooSkipInstall Skip Odoo installation wizard
##
odooSkipInstall: false
## @param odooDatabaseFilter Filter odoo database by using a regex
##
odooDatabaseFilter: .*
## @param loadDemoData Whether to load demo data for all modules during initialization
## ref: https://github.com/bitnami/containers/tree/main/bitnami/odoo#configuration
##