Reapply "Remove kubeconfig value from module invocation log (#826)" (#899) (#978)

This reverts commit 1705ced (i.e., reapplies the changes from #826); this is a temporary fix for #782 as it will re-introduce #870, which will need to be re-opened.

Reviewed-by: Alina Buzachis
Reviewed-by: GomathiselviS <gomathiselvi@gmail.com>
This commit is contained in:
Bianca Henderson
2025-08-11 12:46:40 -04:00
committed by GitHub
parent c48778d709
commit 5148ee5f74
3 changed files with 2 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
---
bugfixes:
- kubeconfig option should return the full manifest output (https://github.com/ansible-collections/kubernetes.core/issues/870).

View File

@@ -18,7 +18,7 @@ AUTH_PROXY_HEADERS_SPEC = dict(
)
AUTH_ARG_SPEC = {
"kubeconfig": {"type": "raw"},
"kubeconfig": {"type": "raw", "no_log": True},
"context": {},
"host": {},
"api_key": {"no_log": True},

View File

@@ -16,6 +16,7 @@ HELM_AUTH_ARG_SPEC = dict(
type="raw",
aliases=["kubeconfig_path"],
fallback=(env_fallback, ["K8S_AUTH_KUBECONFIG"]),
no_log=True,
),
host=dict(type="str", fallback=(env_fallback, ["K8S_AUTH_HOST"])),
ca_cert=dict(