Skip to content

Commit 9750b16

Browse files
committed
remove unused and unsupported helm_args_common
1 parent 65c1c77 commit 9750b16

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

plugins/modules/helm_registry_auth.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
returned: always
124124
sample: false
125125
changed:
126+
description: Indicate if the state of the registry was changed
126127
type: bool
127128
returned: always
128129
"""
@@ -135,14 +136,9 @@
135136
from ansible_collections.kubernetes.core.plugins.module_utils.helm import (
136137
AnsibleHelmModule,
137138
)
138-
from ansible_collections.kubernetes.core.plugins.module_utils.helm_args_common import (
139-
HELM_AUTH_ARG_SPEC,
140-
HELM_AUTH_MUTUALLY_EXCLUSIVE,
141-
)
142139

143140

144141
def argument_spec():
145-
arg_spec = copy.deepcopy(HELM_AUTH_ARG_SPEC)
146142
arg_spec.update(
147143
dict(
148144
host=dict(type="str", aliases=["registry_url"], required=True),
@@ -202,7 +198,7 @@ def main():
202198
module = AnsibleHelmModule(
203199
argument_spec=argument_spec(),
204200
required_together=[["username", "password"]],
205-
mutually_exclusive=HELM_AUTH_MUTUALLY_EXCLUSIVE,
201+
mutually_exclusive=None,
206202
supports_check_mode=True,
207203
)
208204

0 commit comments

Comments
 (0)