Skip to content

Commit 2765c31

Browse files
josunectnrfox
andauthored
Add new server config clusterName (kiali#644)
* 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]>
1 parent 0798c64 commit 2765c31

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crd-docs/crd/kiali.io_kialis.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,9 @@ spec:
11991199
cache_token_namespace_duration:
12001200
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."
12011201
type: integer
1202+
cluster_name:
1203+
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'."
1204+
type: string
12021205
excluded_workloads:
12031206
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."
12041207
type: array

roles/default/kiali-deploy/defaults/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ kiali_defaults:
315315
cache_namespaces:
316316
- ".*"
317317
cache_token_namespace_duration: 10
318+
cluster_name: ""
318319
excluded_workloads:
319320
- "CronJob"
320321
- "DeploymentConfig"

0 commit comments

Comments
 (0)