Skip to content

Commit

Permalink
fix(chart/opensearch-dashboards): mapper_parsing_exception - tried to…
Browse files Browse the repository at this point in the history
… parse field [app] as object, but found a concrete value (#629)

* Remove default opensearch.yml config in Values.yaml to avoid security plugin conflicts (#618)

* Remove opensearch.yml config in Values.yaml to avoid security plugin conflicts

Signed-off-by: LemonDouble <[email protected]>

* bump version

Signed-off-by: LemonDouble <[email protected]>

* add space for lint

Signed-off-by: LemonDouble <[email protected]>

* fix : Update CHANGELOG.md

Co-authored-by: Craig Perkins <[email protected]>
Signed-off-by: LemonDouble <[email protected]>

* fix : comment ci's opensearch.yml to fix ci pipeline

Signed-off-by: LemonDouble <[email protected]>

* fix : update CHANGELOG.md

Co-authored-by: Craig Perkins <[email protected]>
Signed-off-by: LemonDouble <[email protected]>

* fix : comment only security plugin configs

Signed-off-by: LemonDouble <[email protected]>

---------

Signed-off-by: LemonDouble <[email protected]>
Signed-off-by: LemonDouble <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>

* chore: modify label keys

Signed-off-by: ainthapanya-sqc <[email protected]>

* chore: change app label with 'app.kubernetes.io/name'

Signed-off-by: ainthapanya-sqc <[email protected]>

* fix: use selectorLabels helper template

Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>

* fix: use selectorLabels helper template

Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>

* chore: bump helm chart version to 2.26.0

Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>

* chore: bump helm chart version to 2.26.1

Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>

* chore: bump CHANGELOG.md

Signed-off-by: ainthapanya-sqc <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Aaron Layfield <[email protected]>

---------

Signed-off-by: LemonDouble <[email protected]>
Signed-off-by: LemonDouble <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: ainthapanya-sqc <[email protected]>
Signed-off-by: Aaron Layfield <[email protected]>
Co-authored-by: LemonDouble <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Co-authored-by: Aaron Layfield <[email protected]>
  • Loading branch information
4 people authored Feb 17, 2025
1 parent 3d26d0c commit 0c3fbbf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
12 changes: 11 additions & 1 deletion charts/opensearch-dashboards/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security
---
## [2.27.1]
### Added
### Changed
- Updated app labels with common labels `app.kubernetes.io`
### Deprecated
### Removed
### Fixed
### Security
---
## [2.27.0]
### Added
- Updated OpenSearch Dashboards appVersion to 2.19.0
Expand Down Expand Up @@ -448,7 +457,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security

[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.27.0...HEAD
[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.26.1...HEAD
[2.27.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.26.0...opensearch-dashboards-2.26.1
[2.27.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.26.0...opensearch-dashboards-2.27.0
[2.26.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.25.0...opensearch-dashboards-2.26.0
[2.25.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.24.1...opensearch-dashboards-2.25.0
Expand Down
2 changes: 1 addition & 1 deletion charts/opensearch-dashboards/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.27.0
version: 2.27.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 2 additions & 4 deletions charts/opensearch-dashboards/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ spec:
{{ toYaml .Values.updateStrategy | indent 4 }}
selector:
matchLabels:
app: {{ .Chart.Name }}
release: {{ .Release.Name | quote }}
{{- include "opensearch-dashboards.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
app: {{ .Chart.Name }}
release: {{ .Release.Name | quote }}
{{- include "opensearch-dashboards.selectorLabels" . | nindent 8 }}
{{- range $key, $value := .Values.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
Expand Down
3 changes: 1 addition & 2 deletions charts/opensearch-dashboards/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ spec:
protocol: TCP
port: {{ .Values.service.metricsPort }}
selector:
app: {{ .Chart.Name }}
release: {{ .Release.Name | quote }}
{{- include "opensearch-dashboards.selectorLabels" . | nindent 4 }}

0 comments on commit 0c3fbbf

Please sign in to comment.