You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add the kubeconfig to the returnifself.return_kubeconfig:
json_data["kubeconfig"] =self.get_kubernetes_kubeconfig()
self.module.exit_json(changed=True, data=json_data["kubernetes_cluster"])
It looks like the last line of the snippet should be.
SUMMARY
There is unnecessary erasure of resulting data in the digital_ocean_kubernetes module
It looks like the last line of the snippet should be.
To have kubeconfig correctly included.
ISSUE TYPE
COMPONENT NAME
digital_ocean_kubernetes
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Any
STEPS TO REPRODUCE
From examples.
EXPECTED RESULTS
A kubeconfig is returned.
ACTUAL RESULTS
A kubeconfig is not returned.
The text was updated successfully, but these errors were encountered: