Skip to content

Commit

Permalink
fix for rendering configMap correctly (opensearch-project#214)
Browse files Browse the repository at this point in the history
* fix for rendering configMap correctly

Signed-off-by: Christian Lischnig <christian.lischnig@dccs.at>

* corrected CHANGELOG.md and Chart.yaml

Signed-off-by: Christian Lischnig <christian.lischnig@dccs.at>
  • Loading branch information
lischc committed Feb 11, 2022
1 parent 9bc0e70 commit 1e976ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
14 changes: 13 additions & 1 deletion charts/opensearch-dashboards/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Fixed
### Security
---
## [1.2.1]
### Added
### Changed
### Deprecated
### Removed
### Fixed
- Fixed rendering of `opensearch-dashboard.yml` in `configmap.yaml`.
### Security

---
## [1.2.0]
### Added
Expand All @@ -21,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Fixed
### Security

---
## [1.1.2]
### Added
Expand Down Expand Up @@ -115,7 +126,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-1.2.0...HEAD
[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-1.2.1...HEAD
[1.2.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-1.2.0...opensearch-1.2.1
[1.2.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-1.1.2...opensearch-1.2.0
[1.1.2]: https://github.com/opensearch-project/helm-charts/compare/opensearch-1.1.1...opensearch-1.1.2
[1.1.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-1.1.0...opensearch-1.1.1
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: 1.2.0
version: 1.2.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
3 changes: 1 addition & 2 deletions charts/opensearch-dashboards/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
labels: {{ include "opensearch-dashboards.labels" . | nindent 4 }}
data:
{{- range $configName, $configYaml := .Values.config }}
{{ $configName }}: |
{{- toYaml $configYaml | nindent 4 }}
{{ $configName }}: {{- toYaml $configYaml | nindent 4 }}
{{- end }}
{{- end -}}

0 comments on commit 1e976ea

Please sign in to comment.