mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-07-28 18:34:42 +00:00
helm and helm_info: adjust the name of two parameters (#324)
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- Adjust the name of parameters of ``helm`` and ``helm_info`` to match the documentation. No playbook change required.
|
||||||
@@ -432,8 +432,8 @@ def main():
|
|||||||
# Helm options
|
# Helm options
|
||||||
disable_hook=dict(type='bool', default=False),
|
disable_hook=dict(type='bool', default=False),
|
||||||
force=dict(type='bool', default=False),
|
force=dict(type='bool', default=False),
|
||||||
kube_context=dict(type='str', aliases=['context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
context=dict(type='str', aliases=['kube_context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
||||||
kubeconfig_path=dict(type='path', aliases=['kubeconfig'], fallback=(env_fallback, ['K8S_AUTH_KUBECONFIG'])),
|
kubeconfig=dict(type='path', aliases=['kubeconfig_path'], fallback=(env_fallback, ['K8S_AUTH_KUBECONFIG'])),
|
||||||
purge=dict(type='bool', default=True),
|
purge=dict(type='bool', default=True),
|
||||||
wait=dict(type='bool', default=False),
|
wait=dict(type='bool', default=False),
|
||||||
wait_timeout=dict(type='str'),
|
wait_timeout=dict(type='str'),
|
||||||
@@ -467,8 +467,8 @@ def main():
|
|||||||
# Helm options
|
# Helm options
|
||||||
disable_hook = module.params.get('disable_hook')
|
disable_hook = module.params.get('disable_hook')
|
||||||
force = module.params.get('force')
|
force = module.params.get('force')
|
||||||
kube_context = module.params.get('kube_context')
|
kube_context = module.params.get('context')
|
||||||
kubeconfig_path = module.params.get('kubeconfig_path')
|
kubeconfig_path = module.params.get('kubeconfig')
|
||||||
purge = module.params.get('purge')
|
purge = module.params.get('purge')
|
||||||
wait = module.params.get('wait')
|
wait = module.params.get('wait')
|
||||||
wait_timeout = module.params.get('wait_timeout')
|
wait_timeout = module.params.get('wait_timeout')
|
||||||
|
|||||||
@@ -163,8 +163,8 @@ def main():
|
|||||||
release_namespace=dict(type='str', required=True, aliases=['namespace']),
|
release_namespace=dict(type='str', required=True, aliases=['namespace']),
|
||||||
|
|
||||||
# Helm options
|
# Helm options
|
||||||
kube_context=dict(type='str', aliases=['context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
context=dict(type='str', aliases=['kube_context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
||||||
kubeconfig_path=dict(type='path', aliases=['kubeconfig'], fallback=(env_fallback, ['K8S_AUTH_KUBECONFIG'])),
|
kubeconfig=dict(type='path', aliases=['kubeconfig_path'], fallback=(env_fallback, ['K8S_AUTH_KUBECONFIG'])),
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
)
|
)
|
||||||
@@ -177,8 +177,8 @@ def main():
|
|||||||
release_namespace = module.params.get('release_namespace')
|
release_namespace = module.params.get('release_namespace')
|
||||||
|
|
||||||
# Helm options
|
# Helm options
|
||||||
kube_context = module.params.get('kube_context')
|
kube_context = module.params.get('context')
|
||||||
kubeconfig_path = module.params.get('kubeconfig_path')
|
kubeconfig_path = module.params.get('kubeconfig')
|
||||||
|
|
||||||
if bin_path is not None:
|
if bin_path is not None:
|
||||||
helm_cmd_common = bin_path
|
helm_cmd_common = bin_path
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
plugins/modules/helm.py validate-modules:parameter-type-not-in-doc
|
|
||||||
plugins/modules/helm_info.py validate-modules:parameter-type-not-in-doc
|
|
||||||
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
||||||
plugins/modules/k8s.py validate-modules:return-syntax-error
|
plugins/modules/k8s.py validate-modules:return-syntax-error
|
||||||
plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
plugins/modules/helm.py validate-modules:parameter-type-not-in-doc
|
|
||||||
plugins/modules/helm_info.py validate-modules:parameter-type-not-in-doc
|
|
||||||
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s.py validate-modules:parameter-type-not-in-doc
|
||||||
plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s_scale.py validate-modules:parameter-type-not-in-doc
|
||||||
plugins/modules/k8s_service.py validate-modules:parameter-type-not-in-doc
|
plugins/modules/k8s_service.py validate-modules:parameter-type-not-in-doc
|
||||||
|
|||||||
Reference in New Issue
Block a user