Skip to content

Commit

Permalink
[bitnami/apache] fix CrashLoopBackOff when using cloneHtdocsFromGit (#…
Browse files Browse the repository at this point in the history
…28868)

* Fix: bitnami/apache cloneHtdocsFromGit causes CrashLoopBackOff

Signed-off-by: Russ Sayers <[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: Russ Sayers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
russau and bitnami-bot authored Aug 16, 2024
1 parent 9666e6a commit b535fa4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bitnami/apache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/apache/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions bitnami/apache/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b535fa4

Please sign in to comment.