mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-04-27 16:46:26 +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:
|
||||
- name: Install helm diff
|
||||
helm_plugin:
|
||||
namespace: "{{ helm_namespace }}"
|
||||
state: present
|
||||
plugin_path: https://github.com/databus23/helm-diff
|
||||
|
||||
@@ -137,7 +136,6 @@
|
||||
|
||||
- name: Uninstall helm diff
|
||||
helm_plugin:
|
||||
namespace: "{{ helm_namespace }}"
|
||||
state: absent
|
||||
plugin_name: diff
|
||||
ignore_errors: yes
|
||||
|
||||
@@ -20,13 +20,6 @@ requirements:
|
||||
description:
|
||||
- Manages Helm plugins.
|
||||
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
|
||||
state:
|
||||
description:
|
||||
@@ -108,7 +101,6 @@ def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
binary_path=dict(type='path'),
|
||||
release_namespace=dict(type='str', aliases=['namespace']),
|
||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||
plugin_path=dict(type='str',),
|
||||
plugin_name=dict(type='str',),
|
||||
|
||||
@@ -20,13 +20,6 @@ requirements:
|
||||
description:
|
||||
- Gather information about Helm plugins installed in namespace.
|
||||
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
|
||||
plugin_name:
|
||||
description:
|
||||
@@ -88,7 +81,6 @@ def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
binary_path=dict(type='path'),
|
||||
release_namespace=dict(type='str', aliases=['namespace']),
|
||||
plugin_name=dict(type='str',),
|
||||
# Helm options
|
||||
context=dict(type='str', aliases=['kube_context'], fallback=(env_fallback, ['K8S_AUTH_CONTEXT'])),
|
||||
|
||||
Reference in New Issue
Block a user