Skip to content

Commit

Permalink
fix issue introducied by commit ff02893
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Dec 10, 2024
1 parent ef29dc9 commit bbe2dc5
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions plugins/modules/helm_registry_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,18 @@


def arg_spec():
arg_spec.update(
dict(
host=dict(type="str", aliases=["registry_url"], required=True),
state=dict(
default="present", choices=["present", "absent"], required=False
),
insecure=dict(type="bool", default=False, required=False),
username=dict(type="str", aliases=["repo_username"], required=False),
password=dict(
type="str", aliases=["repo_password"], no_log=True, required=False
),
key_file=dict(type="path", required=False),
cert_file=dict(type="path", required=False),
ca_file=dict(type="path", required=False),
)
return dict(
host=dict(type="str", aliases=["registry_url"], required=True),
state=dict(default="present", choices=["present", "absent"], required=False),
insecure=dict(type="bool", default=False, required=False),
username=dict(type="str", aliases=["repo_username"], required=False),
password=dict(
type="str", aliases=["repo_password"], no_log=True, required=False
),
key_file=dict(type="path", required=False),
cert_file=dict(type="path", required=False),
ca_file=dict(type="path", required=False),
)
return arg_spec


def login(
Expand Down

0 comments on commit bbe2dc5

Please sign in to comment.