Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ containerSecurityContext:

envVars:
BG_TASK_CELERY_BEAT_PRODUCER_FREQUENCY: 10
BG_TASK_CELERY_BEAT_BATCH_SIZE: 2000
BG_TASK_CELERY_BEAT_BATCH_SIZE: 500
BG_TASK_CELERY_BEAT_NO_OF_TASKS_TO_PROCESS: 2

# Background Task Database
Expand Down
9 changes: 6 additions & 3 deletions charts/openg2p-pbms-bg-task-celery-workers/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ containerSecurityContext:
runAsNonRoot: true

envVars:
BG_TASK_CELERY_WORKERS_G2P_BRIDGE_BASE_URL: "https://g2p_bridge_base_url"
BG_TASK_CELERY_WORKERS_G2P_BRIDGE_BASE_URL: "https://g2pbridge-api"
BG_TASK_CELERY_WORKERS_CELERY_BROKER_URL: "redis://{{ tpl .Values.redisInstallationName $ }}:6379/0"
BG_TASK_CELERY_WORKERS_CELERY_BACKEND_URL: "redis://{{ tpl .Values.redisInstallationName $ }}:6379/0"

BG_TASK_CELERY_WORKERS_BATCH_SIZE: 2000
BG_TASK_CELERY_WORKERS_BATCH_SIZE: 500

# BG Task Database
BG_TASK_CELERY_WORKERS_DB_USERNAME: postgres
Expand All @@ -171,7 +171,6 @@ envVars:
# Background Task Database (async)
BG_TASK_CELERY_WORKERS_DB_DRIVER_ASYNC: postgresql+asyncpg
BG_TASK_CELERY_WORKERS_DB_USERNAME_ASYNC: postgres
BG_TASK_CELERY_WORKERS_DB_PASSWORD_ASYNC: '{{ .Values.envVarsFrom.BG_TASK_CELERY_WORKERS_DB_PASSWORD }}'
BG_TASK_CELERY_WORKERS_DB_HOSTNAME_ASYNC: '{{ tpl .Values.postgresqlInstallationName $ }}'
BG_TASK_CELERY_WORKERS_DB_PORT_ASYNC: 5432
BG_TASK_CELERY_WORKERS_DB_DBNAME_ASYNC: bgtaskdb
Expand All @@ -190,6 +189,10 @@ envVarsFrom:
secretKeyRef:
name: '{{ tpl .Values.postgresqlInstallationName $ }}'
key: postgres-password
BG_TASK_CELERY_WORKERS_DB_PASSWORD_ASYNC:
secretKeyRef:
name: '{{ tpl .Values.postgresqlInstallationName $ }}'
key: postgres-password
BG_TASK_CELERY_WORKERS_DB_PASSWORD_SR:
secretKeyRef:
name: '{{ tpl .Values.global.registryInstallationName $ }}-postgresql'
Expand Down
2 changes: 1 addition & 1 deletion charts/openg2p-pbms-bg-task/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ postgresql:
userPasswords:
keymgruser: ""
primary:
resourcesPreset: "small"
# resourcesPreset: "small"
extendedConfiguration: |-
wal_level = logical
max_wal_senders = 20
Expand Down
27 changes: 3 additions & 24 deletions charts/openg2p-pbms/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,22 @@
apiVersion: v2
name: openg2p-pbms
description: A Helm chart for OpenG2P PBMS - Part 1
description: A Helm chart for OpenG2P PBMS
type: application
version: 0.0.0-develop
version: 2.0.0
dependencies:
- name: odoo
version: 26.2.9
repository: oci://registry-1.docker.io/bitnamicharts
condition: odoo.enabled
- name: mail
version: 1.2.0
repository: https://openg2p.github.io/openg2p-helm
condition: mail.enabled
- name: minio
version: 12.12.2
repository: oci://registry-1.docker.io/bitnamicharts
condition: minio.enabled
- name: odk-central
version: v2024.1.0
repository: https://openg2p.github.io/openg2p-helm
condition: odk-central.enabled
- name: opensearch
alias: loggingOpensearch
version: 1.2.0
repository: oci://registry-1.docker.io/bitnamicharts
condition: loggingOpensearch.enabled
- name: keymanager
version: 12.0.1
repository: https://openg2p.github.io/openg2p-helm
condition: keymanager.enabled
- name: reporting
version: 0.0.0-develop
repository: https://openg2p.github.io/openg2p-helm
condition: reporting.enabled
- name: reporting-init
version: 0.0.0-develop
repository: https://openg2p.github.io/openg2p-helm
condition: reporting-init.enabled
icon: https://openg2p.github.io/openg2p-helm/openg2p-logo.png
annotations:
catalog.cattle.io/display-name: "OpenG2P PBMS - Part 1"
catalog.cattle.io/display-name: "OpenG2P PBMS"
openg2p.org/add-to-rancher: ""
7 changes: 7 additions & 0 deletions charts/openg2p-pbms/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OpenG2P PBMS Helm Chart

This contains the following components:

- PBMS Odoo Package (Odoo + PostgreSQL)
- MinIO
- Keymanager
Loading