[bitnami/apache] fix CrashLoopBackOff when using cloneHtdocsFromGit (#28868)

* Fix: bitnami/apache cloneHtdocsFromGit causes CrashLoopBackOff

Signed-off-by: Russ Sayers <russell.sayers@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Russ Sayers <russell.sayers@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Russ Sayers
2024-08-17 02:01:49 +10:00
committed by GitHub
parent 9666e6a662
commit b535fa4d87
3 changed files with 16 additions and 3 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 11.2.13 (2024-07-25)
## 11.2.14 (2024-08-15)
* [bitnami/apache] Release 11.2.13 ([#28398](https://github.com/bitnami/charts/pull/28398))
* [bitnami/apache] fix CrashLoopBackOff when using cloneHtdocsFromGit ([#28868](https://github.com/bitnami/charts/pull/28868))
## <small>11.2.13 (2024-07-25)</small>
* [bitnami/apache] Release 11.2.13 (#28398) ([08be0e2](https://github.com/bitnami/charts/commit/08be0e271998c1046f66d815ac5c411b46e3af29)), closes [#28398](https://github.com/bitnami/charts/issues/28398)
## <small>11.2.12 (2024-07-24)</small>

View File

@@ -35,4 +35,4 @@ maintainers:
name: apache
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/apache
version: 11.2.13
version: 11.2.14

View File

@@ -112,12 +112,18 @@ spec:
{{- else if ne .Values.cloneHtdocsFromGit.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.cloneHtdocsFromGit.resourcesPreset) | nindent 12 }}
{{- end }}
{{- if .Values.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
volumeMounts:
- name: htdocs
mountPath: /app
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
- name: empty-dir
mountPath: /etc/ssh
subPath: etc-ssh-dir
{{- if .Values.cloneHtdocsFromGit.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.cloneHtdocsFromGit.extraVolumeMounts "context" $) | nindent 12 }}
{{- end }}
@@ -154,6 +160,9 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
- name: empty-dir
mountPath: /etc/ssh
subPath: etc-ssh-dir
{{- if .Values.cloneHtdocsFromGit.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.cloneHtdocsFromGit.extraVolumeMounts "context" $) | nindent 12 }}
{{- end }}