Skip to content

Commit

Permalink
Add new settings for the otel collector (#728)
Browse files Browse the repository at this point in the history
* Add new settings for the OTel collector

---------

Co-authored-by: John Mazzitelli <[email protected]>
  • Loading branch information
josunect and jmazzitelli authored Dec 5, 2023
1 parent b2ebc82 commit 3d7140c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crd-docs/cr/kiali.io_v1alpha1_kiali.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,10 @@ spec:
collector_url: "http://jaeger-collector.istio-system:14268/api/traces"
enabled: false
otel:
ca_name: ""
protocol: "http"
skip_verify: false
tls_enabled: false
port: 20001
web_fqdn: ""
web_history_mode: ""
Expand Down
9 changes: 9 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1297,9 +1297,18 @@ spec:
description: "Specific properties when the collector type is `otel`."
type: object
properties:
ca_name:
description: "The name of the CA cert; this is used when `tls_enabled` is `true` and `skip_verify` is `false`."
type: string
protocol:
description: "Protocol. Supported values are: `http`, `https` or `grpc`."
type: string
skip_verify:
description: "If true, TLS certificate verification will not be performed. This is an unsecure option and is recommended only for testing."
type: boolean
tls_enabled:
description: "Enable TLS for the collector. This must be specified when `protocol` is `https` or `grpc`. When you set this to `true`, you must also set a `ca_name` or set `skip_verify` to true."
type: boolean
port:
description: "The port that the server will bind to in order to receive console and API requests."
type: integer
Expand Down
3 changes: 3 additions & 0 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,10 @@ kiali_defaults:
collector_url: http://jaeger-collector.istio-system:14268/api/traces
enabled: false
otel:
ca_name: ""
protocol: "http"
skip_verify: false
tls_enabled: false
port: 20001
web_fqdn: ""
web_history_mode: ""
Expand Down

0 comments on commit 3d7140c

Please sign in to comment.