mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-10-17 13:41:36 +03:00
++ gate kafka sasl on admin password presence instead of a sentinel value
This commit is contained in:
parent
ce6228d6f2
commit
0758eb9fc4
@ -103,8 +103,8 @@ provider "kafka" {
|
|||||||
${get_env("KAFKA_CA_CERT", "")}
|
${get_env("KAFKA_CA_CERT", "")}
|
||||||
EOT
|
EOT
|
||||||
%{endif~}
|
%{endif~}
|
||||||
%{if trimspace(get_env("KAFKA_SASL_MECHANISM", "plain")) != "none"~}
|
%{if get_env("KAFKA_ADMIN_PASSWORD", "") != ""~}
|
||||||
sasl_mechanism = "${trimspace(get_env("KAFKA_SASL_MECHANISM", "plain"))}"
|
sasl_mechanism = "${get_env("KAFKA_SASL_MECHANISM", "plain")}"
|
||||||
sasl_username = "${get_env("KAFKA_ADMIN_USER", "inter_broker_user")}"
|
sasl_username = "${get_env("KAFKA_ADMIN_USER", "inter_broker_user")}"
|
||||||
sasl_password = "${get_env("KAFKA_ADMIN_PASSWORD", "")}"
|
sasl_password = "${get_env("KAFKA_ADMIN_PASSWORD", "")}"
|
||||||
%{endif~}
|
%{endif~}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user