Skip to content

Commit

Permalink
[bitnami/elasticsearch] Use containerSecurityContext on the copy-tls-…
Browse files Browse the repository at this point in the history
…verificates initContainer (#29193)

* [bitnami/postgresql-ha] test: ✅ Temporary change the ginkgo check command (#29179)

* [bitnami/ginkgo] test: ✅ Temporary change the ginkgo check command

Signed-off-by: Javier J. Salmerón García <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Javier J. Salmerón García <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
Signed-off-by: kvandenhoute <[email protected]>

* [bitnami/apache] Release 11.2.17 (#29183)

* [bitnami/apache] Release 11.2.17 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: kvandenhoute <[email protected]>

* Add .Values.security.enabled to initContainers-surrouding if
Signed-off-by: Karel Vanden Houte <[email protected]>

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

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: kvandenhoute <[email protected]>

* Use containerSecurityContext in copy-tls-certificates initcontainer
Signed-off-by: kvandenhoute <[email protected]>

* Fix correct containerSecurityContext per statefulset
Signed-off-by: kvandenhoute <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Javier J. Salmerón García <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: kvandenhoute <[email protected]>
Signed-off-by: Juan José Martos <[email protected]>
Co-authored-by: Javier J. Salmerón García <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
Co-authored-by: Juan José Martos <[email protected]>
  • Loading branch information
4 people authored Sep 9, 2024
1 parent 2cc3811 commit cbcd9ae
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bitnami/elasticsearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 21.3.13 (2024-09-07)
## 21.3.14 (2024-09-09)

* [bitnami/elasticsearch] Release 21.3.13 ([#29296](https://github.com/bitnami/charts/pull/29296))
* [bitnami/elasticsearch] Use containerSecurityContext on the copy-tls-verificates initContainer ([#29193](https://github.com/bitnami/charts/pull/29193))

## <small>21.3.13 (2024-09-07)</small>

* [bitnami/elasticsearch] Release 21.3.13 (#29296) ([10d241e](https://github.com/bitnami/charts/commit/10d241e9e914849a78ccc5ab35e802ecce82a05e)), closes [#29296](https://github.com/bitnami/charts/issues/29296)

## <small>21.3.12 (2024-09-05)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ maintainers:
name: elasticsearch
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
version: 21.3.13
version: 21.3.14
3 changes: 3 additions & 0 deletions bitnami/elasticsearch/templates/coordinating/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: certs
{{- if .Values.coordinating.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.coordinating.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.copyTlsCerts.resources }}
resources: {{- toYaml .Values.copyTlsCerts.resources | nindent 12 }}
{{- else if ne .Values.copyTlsCerts.resourcesPreset "none" }}
Expand Down
3 changes: 3 additions & 0 deletions bitnami/elasticsearch/templates/data/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: certs
{{- if .Values.data.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.data.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.copyTlsCerts.resources }}
resources: {{- toYaml .Values.copyTlsCerts.resources | nindent 12 }}
{{- else if ne .Values.copyTlsCerts.resourcesPreset "none" }}
Expand Down
3 changes: 3 additions & 0 deletions bitnami/elasticsearch/templates/ingest/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: certs
{{- if .Values.ingest.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.ingest.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.copyTlsCerts.resources }}
resources: {{- toYaml .Values.copyTlsCerts.resources | nindent 12 }}
{{- else if ne .Values.copyTlsCerts.resourcesPreset "none" }}
Expand Down
3 changes: 3 additions & 0 deletions bitnami/elasticsearch/templates/master/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: certs
{{- if .Values.master.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.master.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.copyTlsCerts.resources }}
resources: {{- toYaml .Values.copyTlsCerts.resources | nindent 12 }}
{{- else if ne .Values.copyTlsCerts.resourcesPreset "none" }}
Expand Down

0 comments on commit cbcd9ae

Please sign in to comment.