-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm_pull: Silence false no_log warning #796
base: main
Are you sure you want to change the base?
Conversation
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 10m 16s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 59s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed that even in module_utils we have no_logs=True
and password not appear in module output, it's a false positive warning
Hi @colshine1, please update the integration test with the following: please add
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 33s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -189,7 +189,7 @@ def main(): | |||
repo_password=dict( | |||
type="str", no_log=True, aliases=["password", "chart_repo_password"] | |||
), | |||
pass_credentials=dict(type="bool", default=False), | |||
pass_credentials=dict(type="bool", default=False, no_log=True), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass_credentials=dict(type="bool", default=False, no_log=True), | |
pass_credentials=dict(type="bool", default=False, no_log=False), |
This should be False
since this is a false positive.
SUMMARY
Apply no_log=True to pass_credentials to silence false positive warning.
Fixes similar issue to: #423
ISSUE TYPE
COMPONENT NAME
changelog/fragements/796-false-positive-helmull.yaml
plugins/modules/helm_pull.py