Skip to content

Commit

Permalink
Add new server config clusterName (#644)
Browse files Browse the repository at this point in the history
* Add new server config clusterName

* Update description

* Update crd-docs/crd/kiali.io_kialis.yaml

Co-authored-by: Nick Fox <[email protected]>

---------

Co-authored-by: Nick Fox <[email protected]>
  • Loading branch information
josunect and nrfox authored May 31, 2023
1 parent 0798c64 commit 2765c31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,9 @@ spec:
cache_token_namespace_duration:
description: "This Kiali cache is a list of namespaces per user. This is typically a short-lived cache compared with the duration of the namespace cache defined by the `cache_duration` setting. This is specified in seconds."
type: integer
cluster_name:
description: "The name of the cluster Kiali is deployed in. This is only used in multi cluster environments. If not set, Kiali will try to auto detect the cluster name from the Istiod deployment or use the default 'Kubernetes'."
type: string
excluded_workloads:
description: "List of controllers that won't be used for Workload calculation. Kiali queries Deployment, ReplicaSet, ReplicationController, DeploymentConfig, StatefulSet, Job and CronJob controllers. Deployment and ReplicaSet will be always queried, but ReplicationController, DeploymentConfig, StatefulSet, Job and CronJobs can be skipped from Kiali workloads queries if they are present in this list."
type: array
Expand Down
1 change: 1 addition & 0 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ kiali_defaults:
cache_namespaces:
- ".*"
cache_token_namespace_duration: 10
cluster_name: ""
excluded_workloads:
- "CronJob"
- "DeploymentConfig"
Expand Down

0 comments on commit 2765c31

Please sign in to comment.