Skip to content

Commit

Permalink
docs: add docs for TLS config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Jul 16, 2024
1 parent e73d3c0 commit c1c1bbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Witness Webhook is configured primarily through a YAML file, with a few environm
| -------- | ------- | ----------- |
| `WITNESS_WEBHOOK_CONFIG_PATH` | `/webhook-config.yaml` | The path to the yaml config file |
| `WITNESS_WEBHOOK_LISTEN_ADDR` | `:8085` | The address the server will listen on |
| `WITNESS_WEBHOOK_ENABLE_TLS` | `false` | If true, witness-webhook will listen with TLS enabled |
| `WITNESS_WEBHOOK_TLS_CERT` | ` ` | Path to the TLS certificate to use |
| `WITNESS_WEBHOOK_TLS_KEY` | ` ` | Path to the TLS key to use |

### YAML Config

Expand Down Expand Up @@ -43,4 +46,4 @@ Currently the available webhook handlers are:

| Option | Default Value | Description |
| ------ | ------------- | ----------- |
| `secret-file-path` | | Path to the file containing the secret used to verify webhooks from Github |
| `secret-file-path` | | Path to the file containing the secret used to verify webhooks from Github |

0 comments on commit c1c1bbb

Please sign in to comment.