Skip to content

fix: resolve env_file variable interpolation issues by adding support…#2011

Merged
k8s-ci-robot merged 2 commits intokubernetes:mainfrom
yuefanxiao:envfile
May 14, 2025
Merged

fix: resolve env_file variable interpolation issues by adding support…#2011
k8s-ci-robot merged 2 commits intokubernetes:mainfrom
yuefanxiao:envfile

Conversation

@yuefanxiao
Copy link
Copy Markdown
Contributor

… for and default syntax

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #2010

Special notes for your reviewer:

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 7, 2025
@k8s-ci-robot k8s-ci-robot requested review from TessaIO and cdrage May 7, 2025 17:26
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 7, 2025
@yuefanxiao
Copy link
Copy Markdown
Contributor Author

/assign @cdrage

@yuefanxiao
Copy link
Copy Markdown
Contributor Author

/cc @cdrage

@yuefanxiao
Copy link
Copy Markdown
Contributor Author

Hi @cdrage , thanks for your time!
Could you please take a look at this PR when you have a moment? I’d appreciate any feedback.

Copy link
Copy Markdown
Member

@cdrage cdrage left a comment

Choose a reason for hiding this comment

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

Love it! I honestly see no problems with this and the code is wonderful.

Great job and LGTM! :) I'm going to approve and if all the tests pass, it'll merge.

@cdrage
Copy link
Copy Markdown
Member

cdrage commented May 14, 2025

/approve

@cdrage
Copy link
Copy Markdown
Member

cdrage commented May 14, 2025

/lgtm

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdrage, yuefanxiao

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2025
@cdrage
Copy link
Copy Markdown
Member

cdrage commented May 14, 2025

Looks like one small test is failing

@yuefanxiao
Copy link
Copy Markdown
Contributor Author

Looks like one small test is failing看起来一个小测试失败了

Apologies for the test failure - I should have caught this during implementation. I'll investigate the issue immediately and provide a fix as soon as possible. Thank you for flagging this, and I'll update you once resolved.

@cdrage
Copy link
Copy Markdown
Member

cdrage commented May 14, 2025

Woooo 🚀 awesome work!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 14, 2025
@k8s-ci-robot k8s-ci-robot merged commit 4f59fe8 into kubernetes:main May 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. 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. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Fails to parse default value syntax (e.g., ${VAR:-default}) in .env File, resulting in invalid configmap

3 participants