ansible-collections / community.kubernetes

Kubernetes Collection for Ansible
https://galaxy.ansible.com/community/kubernetes
GNU General Public License v3.0
265 stars 106 forks source link

provide consistent env vars for authentication configuration #289

Closed kdelee closed 3 years ago

kdelee commented 3 years ago
SUMMARY

some of the modules here support the use of:

K8S_AUTH_SSL_CA_CERT
K8S_AUTH_VERIFY_SSL
K8S_AUTH_API_KEY
K8S_AUTH_HOST

But not all. The helm modules in particular only seem to support K8S_AUTH_KUBECONFIG. Ansible tower greatly prefers handling authentication secrets in env vars rather than files, so we prefer fixing this here by providing the options rather than changing how we inject k8s authentication info into the job environment.

this is a new awx/tower feature, see https://github.com/ansible/awx/issues/5735 if you are not familar.

ISSUE TYPE
COMPONENT NAME

helm modules

tima commented 3 years ago

This is a duplicate of #279