Repo Policy Compliance
- Canonical IS DevOps
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 113 | 27 Jan 2025 | |
latest/edge | 131 | 12 Mar 2025 |
juju deploy repo-policy-compliance
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:
-
charm_token | string
The token for the charm to generate new tokens. This is a random secret chosen by you and must be shared with the authenticating client to generate the subsequent one-time token authentication.
-
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-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. -
github_app_id | string
The app or client ID of the GitHub App to use for communication with GitHub. If provided, the other github_app_* options must also be provided. The Github App needs to have read permission for Administration. If private repositories are checked, the Github App does also need read permission for Contents and Pull request. Either this or the github_token must be provided.
-
github_app_installation_id | string
The installation ID of the GitHub App to use for communication with GitHub. If provided, the other github_app_* options must also be provided. The Github App needs to have read permission for Administration. If private repositories are checked, the Github App does also need read permission for Contents and Pull request. Either this or the github_token must be provided.
-
github_app_private_key | string
The private key of the GitHub App to use for communication with GitHub. If provided, the other github_app_* options must also be provided. The Github App needs to have read permission for Administration. If private repositories are checked, the Github App does also need read permission for Contents and Pull request. Either this or the github_token must be provided.
-
github_token | string
The token to use for communication with GitHub. This can be a PAT (with repo scope) or a fine-grained token with read permission for Administration. If private repositories are checked, the fine-grained token does also need read permission for Contents and Pull request. Either this or the GitHub App configuration must be provided.
-
pull_request_disallow_fork | boolean
Disable runs from forked repository pull requests. This is used to protect private-endpoint runners for security purposes. Blocks all pull request runs from a third party forked repository. It will still allow runs for anyone with write and higher permissions for the repository to run jobs from forks.
-
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.