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

This reverts commit 6efabd3.
SUMMARY

Fixes #870
A better solution is necessary to address #782. The current code makes getting manifests practically unusable. We need to revert this commit until a better solution is found.

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

kubeconfig

Reviewed-by: Bianca Henderson <beeankha@gmail.com>
This commit is contained in:
James Mighion
2025-07-22 09:49:34 -07:00
committed by GitHub
parent 6a0635a2bb
commit 1705ced1b5
3 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
---
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", "no_log": True},
"kubeconfig": {"type": "raw"},
"context": {},
"host": {},
"api_key": {"no_log": True},

View File

@@ -16,7 +16,6 @@ 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(