Team,
Is there a K8s kubectl module that does all the get commands ? Below one does not show ifnit does kubectl get..
https://docs.ansible.com/ansible/latest/modules/k8s_module.html
Team,
Is there a K8s kubectl module that does all the get commands ? Below one does not show ifnit does kubectl get..
https://docs.ansible.com/ansible/latest/modules/k8s_module.html
Have you taken a look at this lookup plugin?
https://docs.ansible.com/ansible/latest/plugins/lookup/k8s.html?highlight=k8s
Nice. Thanks!
AhmedFarooqi
can you clarify what Authentication this module needs to run? I have admin kubeconfig file but does how to let this module use it to talk to cluster?
can you clarify what Authentication this module needs to run? I have admin kubeconfig file but does not how to let this module use it to talk to cluster.
Open to correction, but I think that at the moment the best route would probably be to create a Custom Credential Type https://github.com/ansible/awx/blob/devel/docs/credentials/custom_credential_types.md#custom-credential-types-overview and then create a Credential of that type that would inject the information you need into your job environment.