Console Contracts
- Canonical Webteam Charmers
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/beta | 23 | Yesterday | |
latest/beta | 6 | 14 Mar 2025 | |
latest/edge | 23 | Yesterday | |
latest/edge | 6 | 14 Feb 2025 |
juju deploy console-contracts --channel beta
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
-
app-secret-key | string
Long secret you can use for sessions, csrf or any other thing where you need a random secret shared by all units
-
app-secret-key-id | secret
This configuration is similar to
app-secret-key
, but instead accepts a Juju user secret ID. The secret should contain a single key, "value", which maps to the actual application secret key. To create the secret, run the following command:juju add-secret my-app-secret-key value=<secret-string> && juju grant-secret my-app-secret-key fastapi-app
, and use the output secret ID to configure this option. -
contracts | secret
Contracts API credentials
-
contracts-api-url | string
Sets the Contracts API URL to make requests to.
-
contracts-google-openid-conf-url | string
Default: https://accounts.google.com/.well-known/openid-configuration
Sets the OpenID configuration URL to fetch metadata from.
-
contracts-refresh-token-window-seconds | int
Default: 300
Sets the refresh token window used to determine whether a token can be refreshed.
-
http-proxy | string
HTTP proxy to use for the service
-
https-proxy | string
HTTPS proxy to use for the service
-
metrics-path | string
Default: /metrics
Path where the prometheus metrics will be scraped.
-
metrics-port | int
Default: 8080
Port where the prometheus metrics will be scraped.
-
no-proxy | string
Comma-separated URLs to exclude from proxying
-
webserver-log-level | string
Default: info
Set the log level. Options: 'critical', 'error', 'warning', 'info', 'debug', 'trace'. Sets the env variable UVICORN_LOG_LEVEL.
-
webserver-port | int
Default: 8080
Bind to a socket with this port. Default: 8000. Sets env variable UVICORN_PORT.
-
webserver-workers | int
Default: 1
Number of workers for uvicorn. Sets env variable WEB_CONCURRENCY. See https://www.uvicorn.org/#command-line-options.