Add proxy parameter to k8s module. (#55377)

This commit is contained in:
Gerrit 2019-04-18 11:52:41 +02:00 committed by Will Thames
parent 0ff67d0a1c
commit da28089a78
2 changed files with 6 additions and 0 deletions

View file

@ -122,6 +122,7 @@ AUTH_ARG_SPEC = {
'type': 'path', 'type': 'path',
'aliases': ['key_file'], 'aliases': ['key_file'],
}, },
'proxy': {},
} }

View file

@ -67,6 +67,11 @@ options:
environment variable. environment variable.
type: bool type: bool
aliases: [ verify_ssl ] aliases: [ verify_ssl ]
proxy:
description:
- The URL of an HTTP proxy to use for the connection. Can also be specified via K8S_AUTH_PROXY environment variable.
- Please note that this module does not pick up typical proxy settings from the environment (e.g. HTTP_PROXY).
version_added: "2.9"
notes: notes:
- "The OpenShift Python client wraps the K8s Python client, providing full access to - "The OpenShift Python client wraps the K8s Python client, providing full access to
all of the APIS and models available on both platforms. For API version details and all of the APIS and models available on both platforms. For API version details and