Skip to content

Commit

Permalink
mark unsafe the non-spec obj parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelgatelement committed Oct 17, 2024
1 parent f1aa584 commit 23a40e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ansible/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ func (r *runner) makeParameters(u *unstructured.Unstructured) map[string]interfa
specKey := fmt.Sprintf("%s_spec", objKey)
parameters[specKey] = spec
if r.markUnsafe {
parameters[objKey] = markUnsafe(u.Object)
parameters[specKey] = markUnsafe(spec)
}

Expand Down

0 comments on commit 23a40e8

Please sign in to comment.