Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset env.ValueFrom in ImageTransform #2016

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

pierDipi
Copy link
Member

When there is an environment variable override for ImageTransform, there could be ValueFrom set, in which case the resulting environment field would have both Value and ValueFrom which is not valid.

When there is an environment variable override for ImageTransform, there could be `ValueFrom` set, in which case the resulting environment field would have both `Value` and `ValueFrom` which is not valid.
@knative-prow knative-prow bot requested review from houshengbo and matzew March 11, 2025 15:08
@knative-prow knative-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 11, 2025
@pierDipi
Copy link
Member Author

/cherry-pick release-1.17

@knative-prow-robot
Copy link
Contributor

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

In response to this:

/cherry-pick release-1.17

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.

@pierDipi
Copy link
Member Author

/cherry-pick release-1.16

@knative-prow-robot
Copy link
Contributor

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

In response to this:

/cherry-pick release-1.16

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.

Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2025
Copy link

knative-prow bot commented Mar 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, pierDipi

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

The pull request process is described here

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

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2025
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.78%. Comparing base (e9077ba) to head (934c28a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2016      +/-   ##
==========================================
+ Coverage   62.76%   62.78%   +0.01%     
==========================================
  Files          49       49              
  Lines        2291     2292       +1     
==========================================
+ Hits         1438     1439       +1     
  Misses        761      761              
  Partials       92       92              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@houshengbo
Copy link
Contributor

@pierDipi I just fixed the CI issue, could you rebase this PR?

Updated the dependencies for 1.18 (knative#2015)
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2025
@pierDipi
Copy link
Member Author

done

@matzew
Copy link
Member

matzew commented Mar 11, 2025

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2025
@knative-prow knative-prow bot merged commit d76274d into knative:main Mar 11, 2025
25 checks passed
@knative-prow-robot
Copy link
Contributor

@pierDipi: new pull request created: #2017

In response to this:

/cherry-pick release-1.17

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.

@knative-prow-robot
Copy link
Contributor

@pierDipi: new pull request created: #2018

In response to this:

/cherry-pick release-1.16

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.

houshengbo pushed a commit to houshengbo/operator-2 that referenced this pull request Mar 11, 2025
When there is an environment variable override for ImageTransform, there could be `ValueFrom` set, in which case the resulting environment field would have both `Value` and `ValueFrom` which is not valid.
@houshengbo
Copy link
Contributor

/cherry-pick release-1.16

@houshengbo
Copy link
Contributor

/cherry-pick release-1.17

@knative-prow-robot
Copy link
Contributor

@houshengbo: new pull request created: #2024

In response to this:

/cherry-pick release-1.16

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.

@knative-prow-robot
Copy link
Contributor

@houshengbo: new pull request created: #2025

In response to this:

/cherry-pick release-1.17

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.

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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants