-
Notifications
You must be signed in to change notification settings - Fork 4
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
Change charms to use juju-http{s}-proxy model settings #7
Change charms to use juju-http{s}-proxy model settings #7
Conversation
Added Jenkins Tests; #447 |
Added code to pull down https_proxy config and override any existing keys if they exist.
Added missing parenthesis which cause a crash at run-time.
Added proxy key configuration to override default proxy options. LP#:https://bugs.launchpad.net/charm-kubernetes-master/+bug/1831712
Added docs on how to update integration tests.
Removed comment block and change to exception statement.
f8fd408
to
cb4a3ca
Compare
There is an issue where calling config().update({val}) causes docker-relation-departed to fail. Initial look into this does not reveal much. But changing code to val = config() then updating does not cause the issue. Needs investigation, will write up notes.
Does this support CIDR notation in juju-no-proxy? From the Juju docs:
Docker most likely does not understand CIDR notation in the NO_PROXY env var (most apps don't), meaning we'd have to expand it into individual IPs somewhere along the way. I'm looking at the definition of env_proxy_settings and it doesn't look like it expands them, so that leaves it as the responsibility of the caller to do so. |
Moved juju configuration check into the container runtime common layer.
Refactored and created another pull request on container-runtime-common |
Corrected missing config() call.
Changed precedence so that local charm config wins over juju-http-proxy config.
58bbbe7
to
a2f7541
Compare
Changing to WIP as I just need to run the most recent changes through. |
Added check for juju-http{s} proxy to install method.
Missed the HTTP note. Updated this for changed precedent.
Thanks, LGTM 👍 |
Changed charm to use juju-http{s}-proxy-settings when these keys are defined.
LP#1831712