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 CI var for http_proxy #6039

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

Miouge1
Copy link
Contributor

@Miouge1 Miouge1 commented Apr 28, 2020

What type of PR is this?
/kind feature

What this PR does / why we need it:
http_proxy support is not tested CI, and leads to a number of GitHub issues etc... let's add a test to it.

This does not garantee that the http_proxy var is used, since all VMs still have direct access to internet, but at least adding the http_proxy option will not actively break things.

Which issue(s) this PR fixes:
Fixes #5935
Fixes #5891

Special notes for your reviewer:
A tinyproxy forward HTTP proxy has been deployed in the CI cluster (see https://gitlab.com/miouge/kubespray-ci/-/blob/a4fd5ed6857807f1c353cb60848aedebaf7d2c94/manifests/http-proxy.yml)

proxy_env.no_proxy defaults to empty string, then later on the no_proxy facts gets generated, but not the proxy_env.no_proxy which means that it always was empty.

Does this PR introduce a user-facing change?:


@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 28, 2020
@k8s-ci-robot k8s-ci-robot requested review from EppO and holmsten April 28, 2020 13:45
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Miouge1

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 28, 2020
@EppO
Copy link
Contributor

EppO commented Apr 28, 2020

At some point, we should have a setup with no outgoing connectivity in order to test air-gapped installs and proxy use cases

@Miouge1
Copy link
Contributor Author

Miouge1 commented Apr 28, 2020

At some point, we should have a setup with no outgoing connectivity in order to test air-gapped installs and proxy use cases

Yes that would be nice. But for a later PR. Current ideas are using Openstack security groups (#4899) or using kind: NetworkPolicy, Kubevirt cluster is deployed with Weave as CNI so there should be support for that?

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 29, 2020
@EppO
Copy link
Contributor

EppO commented Apr 29, 2020

yes Weave Net supports Network Policies, so it may work

@EppO
Copy link
Contributor

EppO commented Apr 29, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 29, 2020
@Miouge1
Copy link
Contributor Author

Miouge1 commented Apr 29, 2020

I'll close and re-open to refresh GitLab / Failfast

@Miouge1 Miouge1 closed this Apr 29, 2020
@Miouge1 Miouge1 reopened this Apr 29, 2020
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 30, 2020
@Miouge1 Miouge1 force-pushed the ci-http-proxy branch 4 times, most recently from b0a0f26 to 8ac52a5 Compare April 30, 2020 06:32
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 30, 2020
@Miouge1 Miouge1 force-pushed the ci-http-proxy branch 2 times, most recently from 5280f39 to cbb7abf Compare April 30, 2020 07:07
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 30, 2020
@Miouge1 Miouge1 added this to the 2.13 milestone Apr 30, 2020
@Miouge1 Miouge1 changed the title [WIP] Add CI var for http_proxy Add CI var for http_proxy Apr 30, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 30, 2020
@floryut
Copy link
Member

floryut commented Apr 30, 2020

Good job @Miouge1 !
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2020
@k8s-ci-robot k8s-ci-robot merged commit 353d44a into kubernetes-sigs:master Apr 30, 2020
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request May 29, 2020
spaced pushed a commit to spaced/kubespray that referenced this pull request Jun 10, 2024
New Features:

NGINX 1.19.2
New configmap option enable-real-ip to enable realip_module
Use k8s.gcr.io vanity domain
Go 1.15
client-go v0.18.6
Migrate to klog v2
Changes:

 kubernetes-sigs#5887 Add force-enable-realip-module
 kubernetes-sigs#5888 Update dev-env.sh script
 kubernetes-sigs#5923 Fix error in grpcbin deployment and enable e2e test
 kubernetes-sigs#5924 Validate endpoints are ready in e2e tests
 kubernetes-sigs#5931 Add opentracing operation name settings
 kubernetes-sigs#5933 Update opentracing nginx module
 kubernetes-sigs#5946 Do not add namespace to cluster-scoped resources
 kubernetes-sigs#5951 Use env expansion to provide namespace in container args
 kubernetes-sigs#5952 Refactor shutdown e2e tests
 kubernetes-sigs#5957 bump fsnotify to v1.4.9
 kubernetes-sigs#5958 Disable enable-access-log-for-default-backend e2e test
 kubernetes-sigs#5984 Fix panic in ingress class validation
 kubernetes-sigs#5986 Migrate to klog v2
 kubernetes-sigs#5987 Fix wait times in e2e tests
 kubernetes-sigs#5990 Fix nginx command env variable reference
 kubernetes-sigs#6004 Update nginx to 1.19.2
 kubernetes-sigs#6006 Update nginx image
 kubernetes-sigs#6007 Update e2e-test-runner image
 kubernetes-sigs#6008 Rollback update of Jaeger library to 0.5.0 and update datadog to 1.2.0
 kubernetes-sigs#6014 Update go dependencies
 kubernetes-sigs#6039 Add configurable serviceMonitor metricRelabelling and targetLabels
 kubernetes-sigs#6046 Add new Dockerfile label org.opencontainers.image.revision
 kubernetes-sigs#6047 Increase wait times in e2e tests
 kubernetes-sigs#6049 Improve docs and logging for --ingress-class usage
 kubernetes-sigs#6052 Fix flaky e2e test
 kubernetes-sigs#6056 Rollback to Poll instead of PollImmediate
 kubernetes-sigs#6062 Adjust e2e timeouts
 kubernetes-sigs#6063 Remove file system paths executables
 kubernetes-sigs#6080 Use k8s.gcr.io vanity domain
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/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", 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
4 participants