Skip to content

Commit

Permalink
add-base-domain-to-no-proxy (#190)
Browse files Browse the repository at this point in the history
* add-base-domain-to-no-proxy

* changelog
  • Loading branch information
calvix authored Dec 22, 2022
1 parent c52fcb1 commit e480f89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add cluster base domain to no proxy config.

## [0.20.2] - 2022-12-09

### Changed
Expand Down
4 changes: 2 additions & 2 deletions helm/cluster-aws/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ room for such suffix.
{{- define "proxyCommand" -}}
- export HTTP_PROXY={{ $.Values.proxy.http_proxy }}
- export HTTPS_PROXY={{ $.Values.proxy.https_proxy }}
- export NO_PROXY=127.0.0.1,localhost,svc,local,169.254.169.254,{{ $.Values.network.vpcCIDR }},{{ $.Values.network.serviceCIDR }},{{ $.Values.network.podCIDR }},elb.amazonaws.com
- export NO_PROXY=127.0.0.1,localhost,svc,local,169.254.169.254,{{ $.Values.network.vpcCIDR }},{{ $.Values.network.serviceCIDR }},{{ $.Values.network.podCIDR }},{{ include "resource.default.name" $ }}.{{ $.Values.baseDomain }},elb.amazonaws.com
- export http_proxy={{ $.Values.proxy.http_proxy }}
- export https_proxy={{ $.Values.proxy.https_proxy }}
- export no_proxy=127.0.0.1,localhost,svc,local,169.254.169.254,{{ $.Values.network.vpcCIDR }},{{ $.Values.network.serviceCIDR }},{{ $.Values.network.podCIDR }},elb.amazonaws.com
- export no_proxy=127.0.0.1,localhost,svc,local,169.254.169.254,{{ $.Values.network.vpcCIDR }},{{ $.Values.network.serviceCIDR }},{{ $.Values.network.podCIDR }},{{ include "resource.default.name" $ }}.{{ $.Values.baseDomain }},elb.amazonaws.com
- systemctl daemon-reload
- systemctl restart containerd
- systemctl restart kubelet
Expand Down

0 comments on commit e480f89

Please sign in to comment.