Skip to content

feat: add configuration for tls and basic auth #30

feat: add configuration for tls and basic auth

feat: add configuration for tls and basic auth #30

Triggered via pull request June 18, 2023 13:01
Status Success
Total duration 4m 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

molecule.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
jinja[spacing]: tasks/Win32NT/configure.yml#L20
Jinja2 spacing could be improved: --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }} {%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml" {%- endif %} {%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics {%- endif %} {%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics {%- endif %} {%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }} {%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }} -> --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }}{%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml"{%- endif %}{%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics{%- endif %}{%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics{%- endif %}{%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }}{%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }}
jinja[spacing]: tasks/Win32NT/configure.yml#L20
Jinja2 spacing could be improved: --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }} {%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml" {%- endif %} {%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics {%- endif %} {%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics {%- endif %} {%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }} {%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }} -> --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }}{%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml"{%- endif %}{%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics{%- endif %}{%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics{%- endif %}{%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }}{%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }}
jinja[spacing]: tasks/Win32NT/configure.yml#L20
Jinja2 spacing could be improved: --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }} {%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml" {%- endif %} {%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics {%- endif %} {%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics {%- endif %} {%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }} {%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }} -> --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }}{%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml"{%- endif %}{%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics{%- endif %}{%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics{%- endif %}{%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }}{%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }}
jinja[spacing]: tasks/Win32NT/configure.yml#L20
Jinja2 spacing could be improved: --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }} {%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml" {%- endif %} {%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics {%- endif %} {%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics {%- endif %} {%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }} {%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }} -> --web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} --web.telemetry-path {{ postgres_exporter_web_telemetry_path }}{%- if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} --web.config.file "{{ postgres_exporter_config_path }}\web_config.yaml"{%- endif %}{%- if postgres_exporter_disable_default_metrics | bool %} --disable-default-metrics{%- endif %}{%- if postgres_exporter_disable_settings_metrics | bool %} --disable-settings-metrics{%- endif %}{%- if postgres_exporter_extend_query_path | length > 0 %} --extend.query-path {{ postgres_exporter_extend_query_path }}{%- endif %} --log.level {{ postgres_exporter_log_level }} --log.format {{ postgres_exporter_log_format }}