Skip to content
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

feat(output): refine OTLPgrpc output #21

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/telemetry/v1alpha1/otlp_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ type GRPCClientSettings struct {
// components configuring TLS client connections.
type TLSClientSetting struct {
// squash ensures fields are correctly decoded in embedded struct.
//TLSSetting `json:",inline"`
TLSSetting `json:",inline"`

// These are config options specific to client connections.

Expand Down
1 change: 1 addition & 0 deletions api/telemetry/v1alpha1/zz_generated.deepcopy.go

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

41 changes: 41 additions & 0 deletions config/crd/bases/telemetry.kube-logging.dev_oteloutputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,23 @@ spec:
tls:
description: TLSSetting struct exposes TLS client configuration.
properties:
ca_file:
description: |-
Path to the CA cert. For a client this verifies the server certificate.
For a server this verifies client certificates. If empty uses system root CA.
(optional)
type: string
ca_pem:
description: In memory PEM encoded cert. (optional)
type: string
cert_file:
description: Path to the TLS cert to use for TLS required
connections. (optional)
type: string
cert_pem:
description: In memory PEM encoded TLS cert to use for TLS
required connections. (optional)
type: string
insecure:
description: |-
In gRPC when set to true, this is used to disable the client transport security.
Expand All @@ -178,6 +195,30 @@ spec:
description: InsecureSkipVerify will enable TLS but not verify
the certificate.
type: boolean
key_file:
description: Path to the TLS key to use for TLS required connections.
(optional)
type: string
key_pem:
description: In memory PEM encoded TLS key to use for TLS
required connections. (optional)
type: string
max_version:
description: |-
MaxVersion sets the maximum TLS version that is acceptable.
If not set, refer to crypto/tls for defaults. (optional)
type: string
min_version:
description: |-
MinVersion sets the minimum TLS version that is acceptable.
If not set, TLS 1.2 will be used. (optional)
type: string
reload_interval:
description: |-
ReloadInterval specifies the duration after which the certificate will be reloaded
If not set, it will never be reloaded (optional)
format: int64
type: integer
server_name_override:
description: |-
ServerName requested by client for virtual hosting.
Expand Down
Loading