-
Notifications
You must be signed in to change notification settings - Fork 147
kubernetes.core.k8s_info
redacts data when using in-memory kubeconfig
#870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It seems that this issue was introduced by #826 Could you please try to edit
to the
and check result. |
Removing |
Same here, by looking at #782 it really comes down to the same issue (and resolution).
I would recommend:
WDYT? |
Do we know when this will be reverted and backed out? |
SUMMARY
Since the release of version 5.1, the
kubernetes.core.k8s_info
module redacts portions of retrieved data when an in-memory kubeconfig is used.ISSUE TYPE
COMPONENT NAME
kubernetes.core.k8s_info
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Use an in-memory kubeconfig to retrieve a
ConfigMap
usingkubernetes.core.k8s_info
:EXPECTED RESULTS
The
kubernetes.core.k8s_info
module should return the correct data without redaction:ACTUAL RESULTS
The module redacts part of the returned data when using an in-memory kubeconfig:
ADDITIONAL INFORMATION
kubectl get cm example -o yaml
correctly retrieves the full, unredacted data.The text was updated successfully, but these errors were encountered: