-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include credential parameters in YAML file
- Loading branch information
1 parent
bc6e085
commit c2d9c84
Showing
2 changed files
with
43 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,58 @@ | ||
#jinja2: lstrip_blocks: "True", trim_blocks: "True" | ||
|
||
{% if ( primary_cluster is defined ) %} | ||
primary_cluster:{{ primary_cluster }} | ||
primary_cluster: {{ primary_cluster }} | ||
{% endif %} | ||
|
||
{% if ( read_mode is defined ) %} | ||
read_mode:{{ read_mode }} | ||
read_mode: {{ read_mode }} | ||
{% endif %} | ||
|
||
{% if ( log_level is defined ) %} | ||
log_level:{{ log_level }} | ||
log_level: {{ log_level }} | ||
{% endif %} | ||
|
||
origin_username: {{ origin_username | default('') }} | ||
origin_password: {{ origin_password | default('') }} | ||
target_username: {{ target_username | default('') }} | ||
target_password: {{ target_password | default('') }} | ||
|
||
{% if ( zdm_proxy_max_clients_connections is defined ) %} | ||
proxy_max_client_connections:{{ zdm_proxy_max_clients_connections }} | ||
proxy_max_client_connections: {{ zdm_proxy_max_clients_connections }} | ||
{% endif %} | ||
|
||
{% if ( zdm_proxy_request_timeout_ms is defined ) %} | ||
proxy_request_timeout_ms:{{ zdm_proxy_request_timeout_ms }} | ||
proxy_request_timeout_ms: {{ zdm_proxy_request_timeout_ms }} | ||
{% endif %} | ||
{% if ( origin_connection_timeout_ms is defined ) %} | ||
origin_connection_timeout_ms:{{ origin_connection_timeout_ms }} | ||
origin_connection_timeout_ms: {{ origin_connection_timeout_ms }} | ||
{% endif %} | ||
{% if ( target_connection_timeout_ms is defined ) %} | ||
target_connection_timeout_ms:{{ target_connection_timeout_ms }} | ||
target_connection_timeout_ms: {{ target_connection_timeout_ms }} | ||
{% endif %} | ||
{% if ( async_handshake_timeout_ms is defined ) %} | ||
async_handshake_timeout_ms:{{ async_handshake_timeout_ms }} | ||
async_handshake_timeout_ms: {{ async_handshake_timeout_ms }} | ||
{% endif %} | ||
{% if ( heartbeat_interval_ms is defined ) %} | ||
heartbeat_interval_ms:{{ heartbeat_interval_ms }} | ||
heartbeat_interval_ms: {{ heartbeat_interval_ms }} | ||
{% endif %} | ||
{% if ( zdm_proxy_max_stream_ids is defined ) %} | ||
proxy_max_stream_ids:{{ zdm_proxy_max_stream_ids }} | ||
proxy_max_stream_ids: {{ zdm_proxy_max_stream_ids }} | ||
{% endif %} | ||
|
||
{% if ( metrics_enabled is defined ) %} | ||
metrics_enabled:{{ metrics_enabled }} | ||
metrics_enabled: {{ metrics_enabled }} | ||
{% endif %} | ||
|
||
{% if ( system_queries_mode is defined ) %} | ||
system_queries_mode:{{ system_queries_mode }} | ||
system_queries_mode: {{ system_queries_mode }} | ||
{% endif %} | ||
|
||
{% if ( replace_cql_functions is defined ) %} | ||
replace_cql_functions:{{ replace_cql_functions }} | ||
replace_cql_functions: {{ replace_cql_functions }} | ||
{% endif %} | ||
|
||
{% if ( forward_client_credentials_to_origin is defined ) %} | ||
forward_client_credentials_to_origin:{{ forward_client_credentials_to_origin }} | ||
forward_client_credentials_to_origin: {{ forward_client_credentials_to_origin }} | ||
{% endif %} | ||
|