Skip to content

Commit

Permalink
tests: fixed sasl and GSSAPI options in KcatConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
dlex committed Jun 7, 2023
1 parent d438621 commit 70b5f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rptest/services/kcat_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ def __init__(self,

if getattr(self._redpanda, "sasl_enabled", lambda: False)():
cfg = self._redpanda.security_config()
cmd += [
self._cmd += [
"-X", f"security.protocol={cfg['security_protocol']}", "-X"
f"sasl.mechanism={cfg['sasl_mechanism']}", "-X",
f"sasl.username={cfg['sasl_plain_username']}", "-X",
f"sasl.password={cfg['sasl_plain_password']}"
]
if cfg['sasl_mechanism'] == "GSSAPI":
cmd += [
self._cmd += [
"-X", "sasl.kerberos.service.name=redpanda",
'-Xsasl.kerberos.kinit.cmd=kinit client -t /var/lib/redpanda/client.keytab'
]
Expand Down

0 comments on commit 70b5f4a

Please sign in to comment.