---
title: Charmhub | Deploy GitHub Runner Webhook Router using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of GitHub Runner Webhook Router as a Kubernetes
  Operator on any cloud.
url: https://charmhub.io/github-runner-webhook-router/configurations
---

# GitHub Runner Webhook Router

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

stable 77

```
juju deploy github-runner-webhook-router
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [default-flavour](https://charmhub.io/github-runner-webhook-router/configurations#default-flavour)
* [default-self-hosted-labels](https://charmhub.io/github-runner-webhook-router/configurations#default-self-hosted-labels)
* [flask-application-root](https://charmhub.io/github-runner-webhook-router/configurations#flask-application-root)
* [flask-debug](https://charmhub.io/github-runner-webhook-router/configurations#flask-debug)
* [flask-env](https://charmhub.io/github-runner-webhook-router/configurations#flask-env)
* [flask-permanent-session-lifetime](https://charmhub.io/github-runner-webhook-router/configurations#flask-permanent-session-lifetime)
* [flask-preferred-url-scheme](https://charmhub.io/github-runner-webhook-router/configurations#flask-preferred-url-scheme)
* [flask-secret-key](https://charmhub.io/github-runner-webhook-router/configurations#flask-secret-key)
* [flask-secret-key-id](https://charmhub.io/github-runner-webhook-router/configurations#flask-secret-key-id)
* [flask-session-cookie-secure](https://charmhub.io/github-runner-webhook-router/configurations#flask-session-cookie-secure)
* [flavours](https://charmhub.io/github-runner-webhook-router/configurations#flavours)
* [log-level](https://charmhub.io/github-runner-webhook-router/configurations#log-level)
* [webhook-secret](https://charmhub.io/github-runner-webhook-router/configurations#webhook-secret)
* [webserver-keepalive](https://charmhub.io/github-runner-webhook-router/configurations#webserver-keepalive)
* [webserver-threads](https://charmhub.io/github-runner-webhook-router/configurations#webserver-threads)
* [webserver-timeout](https://charmhub.io/github-runner-webhook-router/configurations#webserver-timeout)
* [webserver-worker-class](https://charmhub.io/github-runner-webhook-router/configurations#webserver-worker-class)
* [webserver-workers](https://charmhub.io/github-runner-webhook-router/configurations#webserver-workers)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* default-flavour | string

  The flavour to use when no labels except the default are provided.
* default-self-hosted-labels | string

  Default: self-hosted,linux

  Comma-separated list of labels to ignore during routing, as they apply to all self-hosted flavours.
* flask-application-root | string

  Path in which the application / web server is mounted. This configuration will set the FLASK\_APPLICATION\_ROOT environment variable. Run `app.config.from_prefixed_env()` in your Flask application in order to receive this configuration.
* flask-debug | boolean

  Whether Flask debug mode is enabled.
* flask-env | string

  What environment the Flask app is running in, by default it's 'production'.
* flask-permanent-session-lifetime | int

  Time in seconds for the cookie to expire in the Flask application permanent sessions. This configuration will set the FLASK\_PERMANENT\_SESSION\_LIFETIME environment variable. Run `app.config.from_prefixed_env()` in your Flask application in order to receive this configuration.
* flask-preferred-url-scheme | string

  Default: HTTPS

  Scheme for generating external URLs when not in a request context in the Flask application. By default, it's "HTTPS". This configuration will set the FLASK\_PREFERRED\_URL\_SCHEME environment variable. Run `app.config.from_prefixed_env()` in your Flask application in order to receive this configuration.
* flask-secret-key | string

  The secret key used for securely signing the session cookie and for any other security related needs by your Flask application. This configuration will set the FLASK\_SECRET\_KEY environment variable. Run `app.config.from_prefixed_env()` in your Flask application in order to receive this configuration.
* flask-secret-key-id | secret

  This configuration is similar to `flask-secret-key`, but instead accepts a Juju user secret ID. The secret should contain a single key, "value", which maps to the actual Flask secret key. To create the secret, run the following command: `juju add-secret my-flask-secret-key value=<secret-string> && juju grant-secret my-flask-secret-key flask-k8s`, and use the output secret ID to configure this option.
* flask-session-cookie-secure | boolean

  Set the secure attribute in the Flask application cookies. This configuration will set the FLASK\_SESSION\_COOKIE\_SECURE environment variable. Run `app.config.from_prefixed_env()` in your Flask application in order to receive this configuration.
* flavours | string

  YAML configuration of the assignment of labels to flavours to which the job is to be routed.
  The format is comprised of a list of flavors with respective labels:

  + flavour1: [label1, label2]
  + flavour2: [label1, label3]
    If a job matches multiple flavours, the first flavour matching defined in this configuration will be used.
    Note that labels are treated case-insensitive.
* log-level | string

  Default: INFO

  The log level to use for the application logs. Use any of: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
* webhook-secret | string

  The secret used to validate the webhook
* webserver-keepalive | int

  Time in seconds for webserver to wait for requests on a Keep-Alive connection.
* webserver-threads | int

  Run each webserver worker with the specified number of threads.
* webserver-timeout | int

  Time in seconds to kill and restart silent webserver workers.
* webserver-worker-class | string

  The webserver worker process class for handling requests. Can be either 'gevent' or 'sync'.
* webserver-workers | int

  The number of webserver worker processes for handling requests.
