Skip to content

Commit

Permalink
[szurubooru] fix: env must be array
Browse files Browse the repository at this point in the history
  • Loading branch information
toboshii committed Aug 30, 2021
1 parent b741b40 commit 5f71379
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/szurubooru/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: |
Szurubooru is an image board engine inspired by services such as Danbooru, Gelbooru and Moebooru
dedicated for small and medium communities.
name: szurubooru
version: 1.0.0
version: 1.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- szurubooru
Expand Down
18 changes: 9 additions & 9 deletions charts/szurubooru/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# szurubooru

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: v2.5.0](https://img.shields.io/badge/AppVersion-v2.5.0-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: v2.5.0](https://img.shields.io/badge/AppVersion-v2.5.0-informational?style=flat-square)

Szurubooru is an image board engine inspired by services such as Danbooru, Gelbooru and Moebooru
dedicated for small and medium communities.
Expand Down Expand Up @@ -73,14 +73,14 @@ helm install szurubooru toboshii/szurubooru -f values.yaml

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalContainers.server.env | object | See below (only deviations from the default settings are specified) | environment variables. See [image docs](https://github.com/rr-/szurubooru/blob/master/docker-compose.yml) for more details. |
| additionalContainers.server.env.LOG_SQL | int | `0` | Set to 1 to enable verbose SQL logs |
| additionalContainers.server.env.POSTGRES_DB | string | `"szurubooru"` | Postgres database name |
| additionalContainers.server.env.POSTGRES_HOST | string | `"{{ .Release.Name }}-postgresql"` | Postgres database hostname |
| additionalContainers.server.env.POSTGRES_PASSWORD | string | `"szurubooru"` | Postgres database password |
| additionalContainers.server.env.POSTGRES_PORT | int | `5432` | Postgres custom port (empty = default port) |
| additionalContainers.server.env.POSTGRES_USER | string | `"szurubooru"` | Postgres database username |
| additionalContainers.server.env.TZ | string | `"UTC"` | Set the container timezone |
| additionalContainers.server.env | list | See below (only deviations from the default settings are specified) | environment variables. See [image docs](https://github.com/rr-/szurubooru/blob/master/docker-compose.yml) for more details. |
| additionalContainers.server.env[0] | object | `{"name":"TZ","value":"UTC"}` | Set the container timezone |
| additionalContainers.server.env[1] | object | `{"name":"POSTGRES_HOST","value":"{{ .Release.Name }}-postgresql"}` | Postgres database hostname |
| additionalContainers.server.env[2] | object | `{"name":"POSTGRES_PORT","value":5432}` | Postgres custom port (empty = default port) |
| additionalContainers.server.env[3] | object | `{"name":"POSTGRES_USER","value":"szurubooru"}` | Postgres database username |
| additionalContainers.server.env[4] | object | `{"name":"POSTGRES_PASSWORD","value":"szurubooru"}` | Postgres database password |
| additionalContainers.server.env[5] | object | `{"name":"POSTGRES_DB","value":"szurubooru"}` | Postgres database name |
| additionalContainers.server.env[6] | object | `{"name":"LOG_SQL","value":0}` | Set to 1 to enable verbose SQL logs |
| additionalContainers.server.image | string | `"szurubooru/server:2.5-edge"` | |
| additionalContainers.server.imagePullPolicy | string | `"IfNotPresent"` | |
| additionalContainers.server.name | string | `"server"` | |
Expand Down
21 changes: 14 additions & 7 deletions charts/szurubooru/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,26 @@ additionalContainers:
# @default -- See below (only deviations from the default settings are specified)
env:
# -- Set the container timezone
TZ: UTC
- name: TZ
value: UTC
# -- Postgres database hostname
POSTGRES_HOST: "{{ .Release.Name }}-postgresql"
- name: POSTGRES_HOST
value: '{{ .Release.Name }}-postgresql'
# -- Postgres custom port (empty = default port)
POSTGRES_PORT: 5432
- name: POSTGRES_PORT
value: 5432
# -- Postgres database username
POSTGRES_USER: szurubooru
- name: POSTGRES_USER
value: szurubooru
# -- Postgres database password
POSTGRES_PASSWORD: szurubooru
- name: POSTGRES_PASSWORD
value: szurubooru
# -- Postgres database name
POSTGRES_DB: szurubooru
- name: POSTGRES_DB
value: szurubooru
# -- Set to 1 to enable verbose SQL logs
LOG_SQL: 0
- name: LOG_SQL
value: 0
volumeMounts: []

# -- Configure persistence settings for the chart under this key.
Expand Down

0 comments on commit 5f71379

Please sign in to comment.