Skip to content

Commit

Permalink
Fix codegen-ed README
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Stone <zach@giantswarm.io>
  • Loading branch information
stone-z committed Apr 30, 2024
1 parent 6a7f798 commit 275b127
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/reports-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ helm install reports-server --namespace reports-server --create-namespace report
| service.type | string | `"ClusterIP"` | Service type |
| service.port | int | `443` | Service port |
| config.debug | bool | `false` | Enable debug (to use inmemorydatabase) |
| config.db.secretName | string | `""` | If set, database connection information will be read from the Secret with this name. Overrides `db.host`, `db.name`, `db.user`, and `db.password`. |
| config.db.host | string | `""` | Database host |
| config.db.hostSecretKeyName | string | `"host"` | The database host will be read from this `key` in the specified Secret, when `db.secretName` is set. |
| config.db.name | string | `"reportsdb"` | Database name |
Expand All @@ -65,7 +66,6 @@ helm install reports-server --namespace reports-server --create-namespace report
| config.db.userSecretKeyName | string | `"username"` | The database username will be read from this `key` in the specified Secret, when `db.secretName` is set. |
| config.db.password | string | `"reports"` | Database password |
| config.db.passwordSecretKeyName | string | `"password"` | The database password will be read from this `key` in the specified Secret, when `db.secretName` is set. |
| config.db.secretName | string | `""` | If set, database connection information will be read from the Secret with this name. Overrides `db.host`, `db.name`, `db.user`, and `db.password`. |

## Source Code

Expand Down
6 changes: 5 additions & 1 deletion charts/reports-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,21 +145,25 @@ config:
debug: false

db:
# If a secret is provided, values from the secret will be used instead of those set below.
# -- If set, database connection information will be read from the Secret with this name. Overrides `db.host`, `db.name`, `db.user`, and `db.password`.
secretName: ""

# -- Database host
host: ""
# -- The database host will be read from this `key` in the specified Secret, when `db.secretName` is set.
hostSecretKeyName: "host"

# -- Database name
name: reportsdb
# -- The database name will be read from this `key` in the specified Secret, when `db.secretName` is set.
dbNameSecretKeyName: "dbname"

# -- Database user
user: postgres
# -- The database username will be read from this `key` in the specified Secret, when `db.secretName` is set.
userSecretKeyName: "username"

# -- Database password
password: reports
# -- The database password will be read from this `key` in the specified Secret, when `db.secretName` is set.
passwordSecretKeyName: "password"

0 comments on commit 275b127

Please sign in to comment.