File tree 2 files changed +13
-6
lines changed
xenit-alfresco/templates/acs
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -1347,16 +1347,23 @@ ingress:
1347
1347
* Default: `true`
1348
1348
* Description: When enabled, and if the elastic index does not exist, it will be created automatically.
1349
1349
1350
- # ### `global .elasticsearch.indexName`
1350
+ # ### `elastic .elasticsearch.indexName`
1351
1351
1352
1352
* Required: false
1353
- * Default: `"alfresco-{{ .Release.Namespace }}" `
1354
- * Description: This is a global setting for the indexname . The default name is dynamic, it is based on your namespace name.
1353
+ * Default: `"alfresco-{{ .Release.Namespace }}`
1354
+ * Description: This is the setting for the elastic index name . The default name is dynamic, it is based on your namespace name.
1355
1355
* This prevents potential issues when using a shared elastic environment.
1356
+ > [!NOTE]
1357
+ > The global value lobal.elasticsearch.indexName takes precedence when set.
1356
1358
1359
+ # ### `global.elasticsearch.indexName`
1357
1360
1358
- > [!WARNING]
1359
- > This is a global setting that other charts (or this one) picks up, double check other dependant charts when setting it.
1361
+ * Required: false
1362
+ * Default: `"alfresco-{{ .Release.Namespace }}"`
1363
+ * Description: This is a global setting for the elastic index name. The default name is dynamic, it is based on your namespace name.
1364
+ * This prevents potential issues when using a shared elastic environment.
1365
+ > [!NOTE]
1366
+ > This setting will take precedence over elastic.elasticsearch.indexName when set
1360
1367
1361
1368
# ## SOLR
1362
1369
Original file line number Diff line number Diff line change 52
52
GLOBAL_index.subsystem.name : " elasticsearch"
53
53
GLOBAL_elasticsearch.host : {{ .Values.elastic.host | quote }}
54
54
GLOBAL_elasticsearch.port : {{ .Values.elastic.port | quote }}
55
- GLOBAL_elasticsearch.indexName : {{ (((.Values.global).elasticsearch).indexName) | default (printf "alfresco-%s" .Release.Namespace ) | quote }}
55
+ GLOBAL_elasticsearch.indexName : {{ coalesce (((.Values.global).elasticsearch).indexName) (((.Values.elastic).elasticsearch).indexName) (printf "alfresco-%s" .Release.Namespace ) | quote }}
56
56
GLOBAL_elasticsearch.createIndexIfNotExists : {{ .Values.elastic.createIndexIfNotExists | quote }}
57
57
{{- else }}
58
58
GLOBAL_index.subsystem.name : " noindex"
You can’t perform that action at this time.
0 commit comments