Skip to content

Consolidate security context handling across the web, worker, and migration jobs.#182

Open
ggualerz wants to merge 111 commits into
chatwoot:developfrom
ggualerz:fix/psa-securitycontext
Open

Consolidate security context handling across the web, worker, and migration jobs.#182
ggualerz wants to merge 111 commits into
chatwoot:developfrom
ggualerz:fix/psa-securitycontext

Conversation

@ggualerz

Copy link
Copy Markdown

Consolidate security context handling across the web, worker, and migration jobs.

add pod/container security context rendering with safe fallbacks, including init containers
expose hooks.migrate security context values and document them in README
update PSA examples to UID/GID 1000 for rootless images
Chatwoot official image isn't rootless, I made my own here, you can test it
https://hub.docker.com/r/ggualerz/chatwoot
it use user/group 1001

vishnu-narayanan and others added 30 commits August 3, 2021 20:00
…rs (chatwoot#13)

* Allows annotations for services to enable cloud provided load balancers
* fix: redis auth issue
* chore: increment chart version
* fix: format comments
…hatwoot#26)

* adds resource templates in web and worker deployment for autoscaling
* updated chart version to 0.5.4

Signed-off-by: thundersparkf <devagastya0@gmail.com>
* feat: add docs

* feat: init parameter section

* doc: configuration variables for chatwoot

* doc: improve wording

* doc: fix typos
* chore: refactor installation_env variable naming
* chore: remove unused env var
* fix: selector issues when upgrading

* fix: labels for all k8s objects

* doc: update readme to add upgrade notes
…igMap (chatwoot#33)

* feat: remove redis/postgres hardcoding and switch to ConfigMap

* fix: helm lint failures

* fix: configmap issue

* fix: helm test suite

* doc: update readme

* feat: add separate values.yaml for github ci

* Update README

* Update NOTES.txt

* add REDIS_TLS env var to handle TLS requirement for external redis

* increment version to 0.6.3
nslookup of DB hostname was used as DB init check for migration job. This was
causing the migration job container to fail multiple times. NSLOOKUP being 
successful does not equate to DB is ready to accept connections.

This PR changed that to use the pg_ready tool which is a much more reliable 
metric to assess DB ready status.
- update charts to version 0.6.5
- update chatwoot to v1.20.0
…oot#37)

* fix helm yaml template parsing issues when using external dbs

* Refactor postgres helper function

* Refactor env vars in values.yaml

* add a helper func for redis.password

* Rename env var POSTGRES_DB to POSTGRES_DATABASE

Rails is looking for POSTGRES_DATABASE env variable. This was
causing failures if a different db name other than
chatwoot_production was used.
vishnu-narayanan and others added 30 commits October 25, 2023 17:24
feat: upgrade charts to chatwoot v3.3.1 (chatwoot#114)

https://github.com/chatwoot/chatwoot/releases/tag/v3.3.1

Signed-off-by: Vishnu Narayanan <vishnu@chatwoot.com>
…twoot#122)

* fix: use imagepullsecret in web-deployment and worker-deployment
)

* feature: Add Image Pull Secrets in CronJob InitContainers

* version-chart

Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com>
Linting gh action for charts repo was broken due to the old Python version. Update it to 3.13
Chatwoot v4 and above requires PostgreSQL with pgvector support. Replace the default Bitnami PostgreSQL image with a custom image that has pgvector installed.

This only affects users relying on postgres installed via charts.

ref: https://chwt.app/v4/migration
This upgrade will switch to first v4 stable release. This updates the  charts to chatwoot v4.1.0

This includes breaking changes. Please read the migration guide before upgrading to v4 from 3.x.x. 

1. https://chwt.app/v4/migration
2. https://github.com/chatwoot/chatwoot/releases/tag/v4.1.0
* feat: upgrade charts to chatwoot v4.7.0

* fix: switch to bitnamilegacy repo for redis

bitnami/charts#35164
https://github.com/chatwoot/chatwoot/releases/tag/v4.7.0
…ration jobs.

- add pod/container security context rendering with safe fallbacks, including init containers
- expose hooks.migrate security context values and document them in README
- update PSA examples to UID/GID 1000 for rootless images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.