Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unused and unsupported helm_args_common
Browse files Browse the repository at this point in the history
yurnov committed Nov 29, 2024
1 parent 65c1c77 commit 9750b16
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions plugins/modules/helm_registry_auth.py
Original file line number Diff line number Diff line change
@@ -123,6 +123,7 @@
returned: always
sample: false
changed:
description: Indicate if the state of the registry was changed
type: bool
returned: always
"""
@@ -135,14 +136,9 @@
from ansible_collections.kubernetes.core.plugins.module_utils.helm import (
AnsibleHelmModule,
)
from ansible_collections.kubernetes.core.plugins.module_utils.helm_args_common import (
HELM_AUTH_ARG_SPEC,
HELM_AUTH_MUTUALLY_EXCLUSIVE,
)


def argument_spec():
arg_spec = copy.deepcopy(HELM_AUTH_ARG_SPEC)
arg_spec.update(
dict(
host=dict(type="str", aliases=["registry_url"], required=True),
@@ -202,7 +198,7 @@ def main():
module = AnsibleHelmModule(
argument_spec=argument_spec(),
required_together=[["username", "password"]],
mutually_exclusive=HELM_AUTH_MUTUALLY_EXCLUSIVE,
mutually_exclusive=None,
supports_check_mode=True,
)

0 comments on commit 9750b16

Please sign in to comment.