Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions deployment/helm/ditto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ sections: `Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`.

## [Unreleased]

## [4.7.1]

### Fixed
- `thingsSearch.config.customIndexes` never reached Ditto: the template rendered the block under
`ditto.search.updater.persistence.custom-indexes`, while `SearchConfigValue.CUSTOM_INDEXES` declares the
path `index-initialization.custom-indexes` (as documented in `search.conf`, where `custom-indexes` sits
inside the `index-initialization` block next to `activated-index-names`). Because
`IndexInitializer.dropUndefinedIndices()` removes every index that is neither built-in nor a *configured*
custom index, declaring a custom index made Ditto **drop** it on startup instead of creating and keeping
it. Operators who had pre-created the index manually lost it on the next things-search restart. The fix
is positional only — the emitted HOCON shape is unchanged

## [4.7.0]

Bumped Ditto `appVersion` to `3.9.7`.
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 4.7.0 # chart version is effectively set by release-job
version: 4.7.1 # chart version is effectively set by release-job
appVersion: 3.9.7
keywords:
- iot-chart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ ditto {
{{- end }}
]
{{- end }}
}

{{- if .Values.thingsSearch.config.customIndexes }}
updater {
persistence {
custom-indexes {
{{- range $indexName, $fields := .Values.thingsSearch.config.customIndexes }}
"{{$indexName}}" {
Expand All @@ -56,9 +52,8 @@ ditto {
}
{{- end }}
}
}
}
{{- end }}
}

{{- if .Values.thingsSearch.config.indexedFieldsLimiting.enabled }}
namespace-indexed-fields = [
Expand Down
Loading