Drop ineffective production single-pod settings
As discovered in https://gitea.com/gitea/helm-chart/pulls/585#issuecomment-760170 (bottom part), as long as an Chart internal redis is enabled (no matter which), users are not able to overrule its settings. Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
This commit is contained in:
parent
777a8bb5fc
commit
90612e91c8
10
README.md
10
README.md
@ -247,7 +247,7 @@ External tools such as `redis-cluster` or `memcached` handle these workloads muc
|
|||||||
|
|
||||||
If HA is not needed/desired, the following configurations can be used to deploy a single-pod Gitea instance.
|
If HA is not needed/desired, the following configurations can be used to deploy a single-pod Gitea instance.
|
||||||
|
|
||||||
1. For a production-ready single-pod Gitea instance without external dependencies (using the chart dependency `postgresql`):
|
1. For a production-ready single-pod Gitea instance without external dependencies (using the chart dependency `postgresql` and `redis`):
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|
||||||
@ -270,12 +270,6 @@ If HA is not needed/desired, the following configurations can be used to deploy
|
|||||||
config:
|
config:
|
||||||
database:
|
database:
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
session:
|
|
||||||
PROVIDER: db
|
|
||||||
cache:
|
|
||||||
ADAPTER: memory
|
|
||||||
queue:
|
|
||||||
TYPE: level
|
|
||||||
indexer:
|
indexer:
|
||||||
ISSUE_INDEXER_TYPE: bleve
|
ISSUE_INDEXER_TYPE: bleve
|
||||||
REPO_INDEXER_ENABLED: true
|
REPO_INDEXER_ENABLED: true
|
||||||
@ -295,6 +289,8 @@ If HA is not needed/desired, the following configurations can be used to deploy
|
|||||||
```yaml
|
```yaml
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
redis:
|
||||||
|
enabled: false
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
postgresql-ha:
|
postgresql-ha:
|
||||||
|
Loading…
Reference in New Issue
Block a user