mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 22:12:44 +00:00
`helm_plugin and helm_plugin_info remove unused parameter release_namespace` (#85)
* remove unused parameter release_namespace from documentation * Update changelogs/fragments/85_helm_plugin.yaml Co-authored-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
3
changelogs/fragments/85_helm_plugin.yaml
Normal file
3
changelogs/fragments/85_helm_plugin.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
breaking_changes:
|
||||||
|
- helm_plugin - remove unused ``release_namespace`` parameter.
|
||||||
|
- helm_plugin_info - remove unused ``release_namespace`` parameter.
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
block:
|
block:
|
||||||
- name: Install helm diff
|
- name: Install helm diff
|
||||||
helm_plugin:
|
helm_plugin:
|
||||||
namespace: "{{ helm_namespace }}"
|
|
||||||
state: present
|
state: present
|
||||||
plugin_path: https://github.com/databus23/helm-diff
|
plugin_path: https://github.com/databus23/helm-diff
|
||||||
|
|
||||||
@@ -137,7 +136,6 @@
|
|||||||
|
|
||||||
- name: Uninstall helm diff
|
- name: Uninstall helm diff
|
||||||
helm_plugin:
|
helm_plugin:
|
||||||
namespace: "{{ helm_namespace }}"
|
|
||||||
state: absent
|
state: absent
|
||||||
plugin_name: diff
|
plugin_name: diff
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|||||||
@@ -20,13 +20,6 @@ requirements:
|
|||||||
description:
|
description:
|
||||||
- Manages Helm plugins.
|
- Manages Helm plugins.
|
||||||
options:
|
options:
|
||||||
# TODO: (akasurde) Remove this in version 2.0
|
|
||||||
release_namespace:
|
|
||||||
description:
|
|
||||||
- Kubernetes namespace where the helm plugin should be installed.
|
|
||||||
type: str
|
|
||||||
aliases: [ namespace ]
|
|
||||||
|
|
||||||
#Helm options
|
#Helm options
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
@@ -108,7 +101,6 @@ def main():
|
|||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
binary_path=dict(type='path'),
|
binary_path=dict(type='path'),
|
||||||
release_namespace=dict(type='str', aliases=['namespace']),
|
|
||||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||||
plugin_path=dict(type='str',),
|
plugin_path=dict(type='str',),
|
||||||
plugin_name=dict(type='str',),
|
plugin_name=dict(type='str',),
|
||||||
|
|||||||
@@ -20,13 +20,6 @@ requirements:
|
|||||||
description:
|
description:
|
||||||
- Gather information about Helm plugins installed in namespace.
|
- Gather information about Helm plugins installed in namespace.
|
||||||
options:
|
options:
|
||||||
# TODO: (akasurde) Remove this in version 2.0
|
|
||||||
release_namespace:
|
|
||||||
description:
|
|
||||||
- Kubernetes namespace where the helm plugins are installed.
|
|
||||||
type: str
|
|
||||||
aliases: [ namespace ]
|
|
||||||
|
|
||||||
#Helm options
|
#Helm options
|
||||||
plugin_name:
|
plugin_name:
|
||||||
description:
|
description:
|
||||||
@@ -88,7 +81,6 @@ def main():
|
|||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
binary_path=dict(type='path'),
|
binary_path=dict(type='path'),
|
||||||
release_namespace=dict(type='str', aliases=['namespace']),
|
|
||||||
plugin_name=dict(type='str',),
|
plugin_name=dict(type='str',),
|
||||||
# Helm options
|
# Helm options
|
||||||
context=dict(type='str', aliases=['kube_context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
context=dict(type='str', aliases=['kube_context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
||||||
|
|||||||
Reference in New Issue
Block a user