class_docstr: Tests RBAC Pod Reader.
class_docstr_tok: ["Tests","RBAC","Pod","Reader","."]
code: def test_pod_log_reader_rolebinding(
      self, triggerer, webserver, expected
  ):
      docs = render_chart(
          values={
              "triggerer": {"enabled": triggerer},
              "webserver": {"allowPodLogReading": webserver},
          },
          show_only=["templates/rbac/pod-log-reader-rolebinding.yaml"],
      )
      actual = (
          jmespath.search("subjects[*].name", docs[0]) if docs else []
      )
      assert actual == expected
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 1 for calling the TestPodReader obj's underlying member method code with example usage: obj.test_pod_log_reader_rolebinding(triggerer, webserver, expected) without return types