Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Lua: Fix type mismatch. - #14513

Merged
k8s-ci-robot merged 1 commit into
mainfrom
fix/lua-type-mismatch
Feb 4, 2026
Merged

k8s-ci-robot merged 1 commit into
mainfrom
fix/lua-type-mismatch

Conversation

@Gacko

@Gacko Gacko commented Feb 4, 2026 •

Copy link
Copy Markdown
Member

During conversion from inline to file, this broke. Before the variable has been assigned inside a Lua block, so true and false were understood as booleans. After it is being set in NGINX configuration, where it's being understood as string.

/triage accepted
/kind bug
/priority backlog
/cc @cpanato @strongjz @tao12345666333

Also CC @rikatz, because you initially converted this from inline to file in this PR: #12250.

/cc @rikatz

I think what breaks it is the change from this line (interpreted as boolean) to this line (interpreted as string).

During conversion from inline to file, this broke. Before the variable has been assigned inside a Lua block, so `true` / `false` were understood as booleans. After it is being set in NGINX configuration, where it's being understood as string.
@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Feb 4, 2026
@Gacko

Gacko commented Feb 4, 2026

Copy link
Copy Markdown
Member Author

/cherry-pick release-1.14

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 4, 2026
@Gacko

Gacko commented Feb 4, 2026

Copy link
Copy Markdown
Member Author

/cherry-pick release-1.13

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/lua Issues or PRs related to lua code approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 4, 2026
@k8s-infra-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Gacko: once the present PR merges, I will cherry-pick it on top of release-1.14 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-1.14

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Gacko: once the present PR merges, I will cherry-pick it on top of release-1.13 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-1.13

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@tao12345666333 tao12345666333 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 4, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Gacko, tao12345666333

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:
  • OWNERS [Gacko,tao12345666333]

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

@k8s-ci-robot
k8s-ci-robot merged commit 85999aa into main Feb 4, 2026
18 checks passed
@k8s-infra-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Gacko: new pull request created: #14514

Details

In response to this:

/cherry-pick release-1.14

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Gacko: new pull request created: #14515

Details

In response to this:

/cherry-pick release-1.13

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Gacko
Gacko deleted the fix/lua-type-mismatch branch February 4, 2026 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/lua Issues or PRs related to lua code cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/backlog Higher priority than priority/awaiting-more-evidence. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants