diff --git a/charts/hammond/Chart.yaml b/charts/hammond/Chart.yaml index 7227659d1..bcc86306b 100644 --- a/charts/hammond/Chart.yaml +++ b/charts/hammond/Chart.yaml @@ -25,6 +25,8 @@ annotations: description: Change image from akhilrex/hammond to ghcr.io/alfhou/hammond - kind: added description: Add dynamic port env + - kind: added + description: Add JWT_SECRET env to docs artifacthub.io/links: |- - name: App Source url: https://github.com/AlfHou/hammond diff --git a/charts/hammond/README.md b/charts/hammond/README.md index 41796322d..917b133b5 100644 --- a/charts/hammond/README.md +++ b/charts/hammond/README.md @@ -85,6 +85,7 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| | env | object | See [values.yaml](./values.yaml) | environment variables. [[ref]](https://github.com/AlfHou/hammond#environment-variables) | +| env.JWT_SECRET | string | `nil` | The secret used to sign the JWT token. There is a default value, but it is important that you change it to something else. | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | image.repository | string | `"ghcr.io/alfhou/hammond"` | image repository | | image.tag | string | `"v0.0.21"` | image tag | diff --git a/charts/hammond/values.yaml b/charts/hammond/values.yaml index c02960947..034559851 100644 --- a/charts/hammond/values.yaml +++ b/charts/hammond/values.yaml @@ -15,8 +15,10 @@ image: # -- environment variables. [[ref]](https://github.com/AlfHou/hammond#environment-variables) # @default -- See [values.yaml](./values.yaml) -env: {} - # JWT_SECRET: 20 +env: + # -- (string) The secret used to sign the JWT token. + # There is a default value, but it is important that you change it to something else. + JWT_SECRET: # -- Configures service settings for the chart. # @default -- See [values.yaml](./values.yaml)