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

OCPBUGS-12699: Add additional names to env var allow list #1659

Merged
merged 2 commits into from
Nov 28, 2023
Merged

OCPBUGS-12699: Add additional names to env var allow list #1659

merged 2 commits into from
Nov 28, 2023

Conversation

coreydaley
Copy link
Member

@coreydaley coreydaley commented Nov 14, 2023

Adding additional env vars to the whitelist so that we can also set the proxy env vars in lowercase which is required by some well known tools such as CURL. I have also opened openshift/openshift-controller-manager#278 which will automatically set the lowercase env vars along with the uppercase ones.

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 14, 2023
@openshift-ci-robot
Copy link

@coreydaley: This pull request references Jira Issue OCPBUGS-12699, which is invalid:

  • expected the bug to target the "4.15.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

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/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Nov 14, 2023

Hello @coreydaley! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 14, 2023
@coreydaley
Copy link
Member Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 14, 2023
@openshift-ci-robot
Copy link

@coreydaley: This pull request references Jira Issue OCPBUGS-12699, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @coreydaley

In response to this:

/jira refresh

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/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Nov 14, 2023

@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: coreydaley.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@coreydaley: This pull request references Jira Issue OCPBUGS-12699, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @coreydaley

In response to this:

/jira refresh

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/test-infra repository.

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/test-infra repository.

@openshift-ci-robot
Copy link

@coreydaley: This pull request references Jira Issue OCPBUGS-12699, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @coreydaley

In response to this:

Adding additional env vars to the whitelist so that we can also set the proxy env vars in lowercase which is required by some well known tools such as CURL. I have also opened openshift/openshift-controller-manager#278 which will automatically set the lowercase env vars along with the uppercase ones.

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/test-infra repository.

Copy link
Contributor

openshift-ci bot commented Nov 14, 2023

@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: coreydaley.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@coreydaley: This pull request references Jira Issue OCPBUGS-12699, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @coreydaley

In response to this:

Adding additional env vars to the whitelist so that we can also set the proxy env vars in lowercase which is required by some well known tools such as CURL. I have also opened openshift/openshift-controller-manager#278 which will automatically set the lowercase env vars along with the uppercase ones.

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/test-infra repository.

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/test-infra repository.

@coreydaley
Copy link
Member Author

/assign @adambkaplan
Can you please take a look at this and give it an lgtm unless you have questions/concerns?
Then I will assign it to David to get merged.

Copy link
Contributor

@adambkaplan adambkaplan left a comment

Choose a reason for hiding this comment

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

Potentially will result in a merge conflict with #1660?

@coreydaley
Copy link
Member Author

I will rebase it after #1660 merges, but I wanted to keep them separate

@adambkaplan
Copy link
Contributor

/hold

Per Corey's comment, can release once #1660 merges.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 16, 2023
@coreydaley
Copy link
Member Author

/hold cancel
/assign @bparees

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 17, 2023
@coreydaley
Copy link
Member Author

/cherry-pick release-4.14

@openshift-cherrypick-robot

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

In response to this:

/cherry-pick release-4.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/test-infra repository.

@bparees
Copy link
Contributor

bparees commented Nov 17, 2023

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 17, 2023
@coreydaley
Copy link
Member Author

/retest-required

@coreydaley
Copy link
Member Author

/assign @adambkaplan
for lgtm

@coreydaley
Copy link
Member Author

@adambkaplan bump

Copy link
Contributor

@adambkaplan adambkaplan left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 27, 2023
Copy link
Contributor

openshift-ci bot commented Nov 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adambkaplan, bparees, coreydaley

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

Copy link
Contributor

openshift-ci bot commented Nov 28, 2023

@coreydaley: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit d83ab5b into openshift:master Nov 28, 2023
16 checks passed
@openshift-ci-robot
Copy link

@coreydaley: Jira Issue OCPBUGS-12699: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-12699 has not been moved to the MODIFIED state.

In response to this:

Adding additional env vars to the whitelist so that we can also set the proxy env vars in lowercase which is required by some well known tools such as CURL. I have also opened openshift/openshift-controller-manager#278 which will automatically set the lowercase env vars along with the uppercase ones.

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/test-infra repository.

@openshift-cherrypick-robot

@coreydaley: #1659 failed to apply on top of branch "release-4.14":

Applying: OCPBUGS-12699: Add additional names to env var allow list
Using index info to reconstruct a base tree...
M	build/v1/consts.go
Falling back to patching base and 3-way merge...
Auto-merging build/v1/consts.go
CONFLICT (content): Merge conflict in build/v1/consts.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 OCPBUGS-12699: Add additional names to env var allow list
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.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/test-infra repository.

@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-config-api-container-v4.15.0-202311280834.p0.gd83ab5b.assembly.stream for distgit ose-cluster-config-api.
All builds following this will include this PR.

apoorvajagtap added a commit to apoorvajagtap/openshift-controller-manager that referenced this pull request May 20, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds testcases
for all the whitelisted proxy env vars.
apoorvajagtap added a commit to apoorvajagtap/openshift-controller-manager that referenced this pull request May 20, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds testcases
for all the whitelisted proxy env vars.
apoorvajagtap added a commit to apoorvajagtap/openshift-controller-manager that referenced this pull request May 27, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds testcases
for all the whitelisted proxy env vars.
apoorvajagtap added a commit to apoorvajagtap/openshift-controller-manager that referenced this pull request May 27, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds lower-case
proxy env variables to pod's proxyDefaults
apoorvajagtap added a commit to apoorvajagtap/openshift-controller-manager that referenced this pull request May 29, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds lower-case
proxy env variables to pod's proxyDefaults
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/openshift-controller-manager that referenced this pull request Jun 3, 2024
With openshift/api#1659 additional env variables
were whitelisted (proxy vars in lower case). This commit adds lower-case
proxy env variables to pod's proxyDefaults
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. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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.

6 participants