Skip to content

Fix Workload Identity templating not correctly handling uint values#61735

Merged
strideynet merged 1 commit intomasterfrom
strideynet/fix-wid-uint-expression-handling
Nov 24, 2025
Merged

Fix Workload Identity templating not correctly handling uint values#61735
strideynet merged 1 commit intomasterfrom
strideynet/fix-wid-uint-expression-handling

Conversation

@strideynet
Copy link
Copy Markdown
Contributor

Noticed this whilst preparing a demo, trying to template in the value of workload.unix.uid would lead to a "expression did not evaluate to a string" error. It looks like this issue was specifically related to handling uint attributes. I've also extended the test suite to cover this error.

changelog: Fixed workload identity templating to support certain numeric values that previously gave a "expression did not evaluate to a string" error.

Copy link
Copy Markdown
Contributor

@boxofrad boxofrad left a comment

Choose a reason for hiding this comment

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

Doh! Good catch 👏🏻

@strideynet strideynet added this pull request to the merge queue Nov 24, 2025
Merged via the queue into master with commit 006cf7a Nov 24, 2025
46 checks passed
@strideynet strideynet deleted the strideynet/fix-wid-uint-expression-handling branch November 24, 2025 15:47
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@strideynet See the table below for backport results.

Branch Result
branch/v17 Create PR
branch/v18 Create PR

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.

3 participants