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

Add function to facilitate proxy-aware operators #71

Merged

Conversation

asmacdo
Copy link
Member

@asmacdo asmacdo commented Aug 12, 2021

Signed-off-by: austin austin@redhat.com

Description of the change:
Adds a helper function to retrieve proxy-related environment variables.

Motivation for the change:
As a best practice, operators should be configurable (via the environment variables set on the operator itself) to set up operands that use a network proxy.

Signed-off-by: austin <austin@redhat.com>
@coveralls
Copy link

coveralls commented Aug 12, 2021

Pull Request Test Coverage Report for Build 1144020022

  • 14 of 14 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 81.319%

Totals Coverage Status
Change from base Build 1075789896: 0.5%
Covered Lines: 444
Relevant Lines: 546

💛 - Coveralls

@asmacdo
Copy link
Member Author

asmacdo commented Aug 12, 2021

Signed-off-by: austin <austin@redhat.com>
Signed-off-by: austin <austin@redhat.com>
@asmacdo asmacdo added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 12, 2021
Signed-off-by: austin <austin@redhat.com>
proxy/proxy_test.go Outdated Show resolved Hide resolved
proxy/proxy.go Outdated Show resolved Hide resolved
Signed-off-by: austin <austin@redhat.com>
@asmacdo asmacdo removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 17, 2021
proxy/proxy.go Outdated Show resolved Hide resolved
Signed-off-by: austin <austin@redhat.com>
Copy link
Member

@jmrodri jmrodri 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

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
@openshift-ci
Copy link

openshift-ci bot commented Aug 31, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jmrodri

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 31, 2021
@openshift-merge-robot openshift-merge-robot merged commit 27f57aa into operator-framework:main Aug 31, 2021
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants