Skip to content

Commit

Permalink
Add new settings for the otel collector
Browse files Browse the repository at this point in the history
  • Loading branch information
josunect committed Nov 28, 2023
1 parent d2112e8 commit 7bd4b4d
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 name containing 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: "Skip tls verification when using self signed certificates. Insecure option recommended just for testing."
type: boolean
tls_enabled:
description: "Enable tls for the collector. It must be used when `protocol` is `https` or `grpc`. It needs to set `ca_name` or `skip_verify`."
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 7bd4b4d

Please sign in to comment.