mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-14 05:22:08 +00:00
Merge pull request #51 from ansible-collections/warn_cli_options
warn about disclosure when using certain options
This commit is contained in:
@@ -65,6 +65,7 @@ DOCUMENTATION = """
|
|||||||
kubectl_extra_args:
|
kubectl_extra_args:
|
||||||
description:
|
description:
|
||||||
- Extra arguments to pass to the kubectl command line.
|
- Extra arguments to pass to the kubectl command line.
|
||||||
|
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
|
||||||
default: ''
|
default: ''
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_kubectl_extra_args
|
- name: ansible_kubectl_extra_args
|
||||||
@@ -109,6 +110,8 @@ DOCUMENTATION = """
|
|||||||
kubectl_password:
|
kubectl_password:
|
||||||
description:
|
description:
|
||||||
- Provide a password for authenticating with the API.
|
- Provide a password for authenticating with the API.
|
||||||
|
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
|
||||||
|
We recommend using the file based authentication options instead.
|
||||||
default: ''
|
default: ''
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_kubectl_password
|
- name: ansible_kubectl_password
|
||||||
@@ -117,6 +120,8 @@ DOCUMENTATION = """
|
|||||||
kubectl_token:
|
kubectl_token:
|
||||||
description:
|
description:
|
||||||
- API authentication bearer token.
|
- API authentication bearer token.
|
||||||
|
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
|
||||||
|
We recommend using the file based authentication options instead.
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_kubectl_token
|
- name: ansible_kubectl_token
|
||||||
- name: ansible_kubectl_api_key
|
- name: ansible_kubectl_api_key
|
||||||
|
|||||||
Reference in New Issue
Block a user