-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helm supports extra env, volumes and volume mounts for externaldns (#…
…1548) * Helm supports extra env variables, volumes and volume mounts for externaldns Signed-off-by: abaguas <andre.aguas@protonmail.com> * add external dns proxy docs Signed-off-by: abaguas <andre.aguas@protonmail.com> * fix title Signed-off-by: abaguas <andre.aguas@protonmail.com> * fix Signed-off-by: abaguas <andre.aguas@protonmail.com> --------- Signed-off-by: abaguas <andre.aguas@protonmail.com>
- Loading branch information
Showing
5 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# External DNS behind a proxy | ||
|
||
External DNS needs to communicate with a DNS server outside of the kubernetes cluster to update records. If a proxy is used for egress from the Kubernetes cluster the following should be configured: | ||
``` | ||
externaldns: | ||
extraEnv: | ||
- name: HTTPS_PROXY | ||
value: http://proxy.example.com:8080 | ||
extraVolumes: | ||
- name: ca-bundle | ||
secret: | ||
secretName: ca-proxy | ||
extraVolumeMounts: | ||
- name: ca-bundle | ||
mountPath: /etc/ssl/certs | ||
readOnly: true | ||
``` | ||
|
||
The `HTTPS_PROXY` environment variable should contain the address of the proxy. | ||
The volume mount should contain the proxy CA certificate so that the container can trust the proxy. |