Skip to content

[manage_secrets] Add no_log to debug task printing secret content#4011

Open
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:fix-secret-debug-nolog
Open

[manage_secrets] Add no_log to debug task printing secret content#4011
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:fix-secret-debug-nolog

Conversation

@stuggi

@stuggi stuggi commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The debug task for _secret_content prints sensitive values (pull secrets, CI tokens, kubeconfig) to stdout and ansible.log without no_log. The copy task in the same file correctly uses no_log — the debug task was missed.

Uses the same cifmw_nolog pattern as the rest of the role to allow disabling for debugging when needed.

Jira: OSPRH-31754

The debug task for _secret_content prints sensitive values (pull
secrets, CI tokens, kubeconfig) to stdout and ansible.log without
no_log. The copy task in the same file correctly uses no_log —
the debug task was missed.

Uses the same cifmw_nolog pattern as the rest of the role to allow
disabling for debugging when needed.

Jira: OSPRH-31754

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>

@michburk michburk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci

openshift-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michburk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants