Skip to content

Commit

Permalink
šŸ› add ca bundle to addon proxy settings (#293)
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Le <[email protected]>
  • Loading branch information
elgnay authored Oct 27, 2023
1 parent 2b7f212 commit bab1208
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ spec:
description: ProxyConfig holds proxy settings for add-on agent on
the managed cluster. Empty means no proxy settings is available.
properties:
caBundle:
description: CABundle is a CA certificate bundle to verify the
proxy server. And it's only useful when HTTPSProxy is set and
a HTTPS proxy server is specified.
format: byte
type: string
httpProxy:
description: HTTPProxy is the URL of the proxy for HTTP requests
type: string
Expand Down
5 changes: 5 additions & 0 deletions addon/v1alpha1/types_addondeploymentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ type ProxyConfig struct {
// +optional
HTTPSProxy string `json:"httpsProxy,omitempty"`

// CABundle is a CA certificate bundle to verify the proxy server.
// And it's only useful when HTTPSProxy is set and a HTTPS proxy server is specified.
// +optional
CABundle []byte `json:"caBundle,omitempty"`

// NoProxy is a comma-separated list of hostnames and/or CIDRs and/or IPs for which the proxy
// should not be used.
// +optional
Expand Down
7 changes: 6 additions & 1 deletion addon/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions addon/v1alpha1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bab1208

Please sign in to comment.