Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow charts to be optional when deploying trento-web #17

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ These variables are the defaults of our roles, if you want to override the prope
| nginx_vhost_http_listen_port | Configure the http listen port for trento (redirects to https by default) | 80 |
| nginx_vhost_https_listen_port | Configure the https listen port for trento | 443 |
| enable_api_key | Enable/Disable API key usage. Mostly for testing purposes | true |
| enable_charts | Enable/Disable charts display based on Prometheus metrics | true |
| web_upstream_name | Web nginx upstream name | web |
| wanda_upstream_name | Wanda nginx upstream name | wanda |
| amqp_protocol | Change the amqp protocol type | amqp |
Expand Down
1 change: 1 addition & 0 deletions roles/containers/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ refresh_token_secret: "lookup('community.general.random_string', base64=True, le
web_admin_username: admin
enable_alerting: "false"
enable_api_key: "true"
enable_charts: "true"
amqp_protocol: amqp
prometheus_url: "http://host.docker.internal:9090"
1 change: 1 addition & 0 deletions roles/containers/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@
ADMIN_USER: "{{ web_admin_username }}"
ADMIN_PASSWORD: "{{ web_admin_password }}"
ENABLE_API_KEY: "{{ enable_api_key }}"
CHARTS_ENABLED: "{{ enable_charts }}"