diff options
Diffstat (limited to 'kubernetes/scripts/create_x509_user_config.py')
-rw-r--r-- | kubernetes/scripts/create_x509_user_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/scripts/create_x509_user_config.py b/kubernetes/scripts/create_x509_user_config.py index 05a6750..21681f3 100644 --- a/kubernetes/scripts/create_x509_user_config.py +++ b/kubernetes/scripts/create_x509_user_config.py @@ -39,9 +39,9 @@ ROLE_BINDING_PATCH_TEMPLATE = """[ def run_and_return_output(command: str, cwd: str | None = None) -> str: """Run a command in a shell and return the result as a string.""" - return subprocess.run( + return subprocess.run( # noqa: S602 command, - shell=True, # noqa: S602 + shell=True, stdout=subprocess.PIPE, text=True, check=True, |