-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support proxy configuration (env vars & CA certificate) (#137)
* fix: add yaml tags to ValidatorConfig types Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * feat: support proxy config Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * feat: support proxy config Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * chore: add Make target Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * chore: update chart README.md Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * fix: include root CAs and ca-certificates.conf in certs-init image Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * fix: configure root CAs properly Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * refactor: copy env & proxy config into each plugin's values Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * feat: support proxy CA cert secret creation Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * fix: use non-root user for cert-init image Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> * chore: update network plugin version Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com> --------- Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
- Loading branch information
1 parent
31746d6
commit 63c3bc8
Showing
7 changed files
with
132 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if and .Values.proxy.enabled .Values.proxy.createSecret }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ required ".Values.proxy.secretName is required!" .Values.proxy.secretName }} | ||
stringData: | ||
ca.crt: | | ||
{{ required ".Values.proxy.caCert is required!" .Values.proxy.caCert | indent 4 }} | ||
{{- end }} |
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
Oops, something went wrong.