openshift_raw does not honor K8S_* environment variables #43882
Labels
affects_2.6
This issue/PR affects Ansible v2.6
bug
This issue/PR relates to a bug.
deprecated
This issue/PR relates to a deprecated module.
k8s
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
When using the
openshift_raw
module, host and api token are not read from environment variables.ISSUE TYPE
COMPONENT NAME
openshift_raw
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora 27
Python OpenShift Rest Client: openshift (0.6.2)
STEPS TO REPRODUCE
This does not work:
However, this works just fine:
EXPECTED RESULTS
Expected project to be created after connecting to cluster with values provided by the
K8S_*
environment variables.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: